[collectd] cpu aggregation

Michael Hart michael.hart at arcticwolf.com
Thu Oct 3 16:25:24 CEST 2013


I have collectd running with, among other things, cpu and aggregation plugins enabled, and data forwarded to Graphite. Configuration for cpu/aggregation are (as per the wiki):

LoadPlugin cpu
LoadPlugin aggregation

<Plugin "aggregation">
 <Aggregation>
    Plugin "cpu"
    Type "cpu"

    GroupBy "Host"
    GroupBy "TypeInstance"

    CalculateSum true
    CalculateAverage true
  </Aggregation>
</Plugin>

On a single-cpu system the aggregated value is the same as the CPU idle metric, a value less than 100. On a system with 2 CPU's, the CPU Idle value for each CPU is less than 100, but the aggregated CPU idle is anywhere up 5 million. For example, on a test host, CPU idle for cpu0 and cpu1 is 94.50 and 94.90 respectively but the aggregated cpu idle value is 337,012.86. This pattern repeats for all the CPU metrics.

Any idea what I'm doing wrong?

thanks
mike

--
Michael Hart
Arctic Wolf Networks
M: 226.388.4773

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20131003/33efb434/attachment.html>


More information about the collectd mailing list