[collectd] Patch: Support custom CPU interval v2

Manuel Luis Sanmartín Rozada manuel.luis at gmail.com
Tue Mar 11 00:58:06 CET 2014


If I understand you problem correctly,  you can use a function that
collectd already have:
set a plugin-specific interval for collecting metrics:

            <LoadPlugin cpu>
              Interval 60

Or am I missing something?

On Sun, Mar 9, 2014 at 6:47 PM, Lee Hardy <lee at leeh.co.uk> wrote:

> Hey,
> I've updated the CPU interval patch to make it more generic, by adding a
> plugin_update_interval() function called as part of the config function so
> I can update other plugins more easily.
> When the aggregation module is enabled for CPU information though, it
> seems to be throwing an error:
> Mar 9 17:22:36 rpm-i386 collectd[26640]: plugin_value_list_clone: Unable
> to determine interval from context for value list
> "rpm-i386.build.local/aggregation-cpu-average/cpu-idle". This indicates a
> broken plugin. Please report this problem to the collectd mailing list or
> at <http://collectd.org/bugs/>.
> This seems to happen even when I specify the interval via
> plugin_register_complex_read() as well, so I'm not entirely sure if I've
> missed something or there is some issue with the aggregation module.
> Anyone have any ideas?
> Cheers,
> Lee H
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140311/59420b8d/attachment.html>

More information about the collectd mailing list