<div dir="ltr"><div>Ah, I started with auto loading plugins and must've completely missed that when I dropped back to manually setting them.</div><div><br></div><div>That's working thanks.</div><div><br></div><div>
Cheers,</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 March 2014 08:03, Yves Mettier <span dir="ltr"><<a href="mailto:ymettier@free.fr" target="_blank">ymettier@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Don't you mean this ?<br>
<br>
Interval 15<br>
<LoadPlugin memory><br>
    Interval 10<br>
</LoadPlugin><br>
<Plugin memory><br>
</Plugin><br>
<br>
More here : <a href="http://collectd.org/documentation/manpages/collectd.conf.5.shtml#global_options" target="_blank">http://collectd.org/<u></u>documentation/manpages/<u></u>collectd.conf.5.shtml#global_<u></u>options</a><br>

<br>
Regards,<br>
Yves<br>
<br>
Le 2014-03-11 08:43, Lee Hardy a écrit :<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It doesn't work, if I try doing this for the memory plugin (which I haven't<br>
patched) with the following config:<br>
<br>
Interval 15<br>
LoadPlugin memory<br>
<Plugin "memory"><br>
      Interval 10<br>
</Plugin><br>
<br>
This throws the following error:<br>
Mar 11 07:28:55 rpm-i386 collectd[1196]: Found a configuration for the<br>
`memory' plugin, but the plugin isn't loaded or didn't register a<br>
configuration callback.<br>
<br>
It then logs out at 15s intervals rather than the 10s.<br>
<br>
<br>
Is there a different approach to the fix I should be taking?  I don't mind<br>
taking another look..<br>
<br>
Cheers,<br>
Lee H<br>
<br>
<br>
On 10 March 2014 23:58, Manuel Luis Sanmartín Rozada<br>
<<a href="mailto:manuel.luis@gmail.com" target="_blank">manuel.luis@gmail.com</a>>wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello.<br>
<br>
If I understand you problem correctly,  you can use a function that<br>
collectd already have:<br>
set a plugin-specific interval for collecting metrics:<br>
<br>
            <LoadPlugin cpu><br>
              Interval 60<br>
            </LoadPlugin><br>
<br>
Or am I missing something?<br>
<br>
<br>
On Sun, Mar 9, 2014 at 6:47 PM, Lee Hardy <<a href="mailto:lee@leeh.co.uk" target="_blank">lee@leeh.co.uk</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<br>
<br>
I've updated the CPU interval patch to make it more generic, by adding a<br>
plugin_update_interval() function called as part of the config function so<br>
I can update other plugins more easily.<br>
<br>
When the aggregation module is enabled for CPU information though, it<br>
seems to be throwing an error:<br>
Mar 9 17:22:36 rpm-i386 collectd[26640]: plugin_value_list_clone: Unable<br>
to determine interval from context for value list<br>
"rpm-i386.build.local/<u></u>aggregation-cpu-average/cpu-<u></u>idle". This indicates a<br>
broken plugin. Please report this problem to the collectd mailing list or<br>
at <<a href="http://collectd.org/bugs/" target="_blank">http://collectd.org/bugs/</a>>.<br>
<br>
This seems to happen even when I specify the interval via<br>
plugin_register_complex_read() as well, so I'm not entirely sure if I've<br>
missed something or there is some issue with the aggregation module.<br>
<br>
Anyone have any ideas?<br>
<br>
Cheers,<br>
Lee H<br>
<br>
______________________________<u></u>_________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a><br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a><br>
</div></div></blockquote></div><br></div>