[collectd] cpu usage percentage with aggregation

Xiao, Luffy Luffy.Xiao at ebay.com
Mon Apr 11 07:20:22 CEST 2016


Hi there,

I’m trying collectd 5.5 about the CPU usage percentage.
It works when set ‘ValuesPercentage’ to true. I got the cpu percentage per cpu core successfully.

But I also want to aggregate the CPU usage percentage using following config:

<Plugin aggregation>
  <Aggregation>
    #Host "unspecified"
    Plugin "cpu"
    #PluginInstance "unspecified"
    Type "cpu"
    #TypeInstance "unspecified"

    GroupBy "Host"
    GroupBy "TypeInstance"

    CalculateNum false
    CalculateSum false
    CalculateAverage true
    CalculateMinimum false
    CalculateMaximum false
    CalculateStddev false
  </Aggregation>
</Plugin>

Seems when I enable ‘ValuesPercentage', I can’t get the cpu-average any more.
So please help me out.


Thanks
Luffy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20160411/203c540d/attachment-0001.html>


More information about the collectd mailing list