<div dir="ltr"><div id="itamenu">Hello.<br><br><span id="result_box" class="" lang="en"><span class="">If</span> <span class="">I understand you problem correctly, you can use a function that collectd already have:<br>set a plugin-specific interval for collecting metrics:<br>
<br></span></span> <LoadPlugin cpu><br> Interval 60<br> </LoadPlugin><br><span id="result_box" class="" lang="en"><span class=""></span><span class=""></span></span><br><span id="result_box" class="" lang="en"><span class="">Or</span> <span class="">am I</span><span class=""> missing something</span><span class="">?</span></span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 9, 2014 at 6:47 PM, Lee Hardy <span dir="ltr"><<a href="mailto:lee@leeh.co.uk" target="_blank">lee@leeh.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hey,</div><div><br></div><div>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.</div>
<div><br></div><div>When the aggregation module is enabled for CPU information though, it seems to be throwing an error:</div><div>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 <<a href="http://collectd.org/bugs/" target="_blank">http://collectd.org/bugs/</a>>.</div>
<div><br></div><div>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.</div>
<div><br></div><div>Anyone have any ideas?</div><div><br></div><div>Cheers,</div><div>Lee H</div></div>
<br>_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></div><br></div>