collectd 聚合函数配置cpu聚合

参考:https://libraries.io/github/librato/collectd-librato
https://collectd.org/wiki/index.php/Plugin:Aggregation/Config


LoadPlugin aggregation

  
    Plugin "cpu"
    Type "cpu"

    GroupBy "Host"
    GroupBy "TypeInstance"

    CalculateNum true
    CalculateSum true
    CalculateAverage true
  


LoadPlugin match_regex

   # Send "cpu" values to the aggregation plugin
    
      Plugin "^cpu$"
    
    
      Plugin "aggregation"
    
    Target stop
  
  Target "write"

你可能感兴趣的:(collectd 聚合函数配置cpu聚合)