<div dir="ltr">Hi Marc<div><br><div>Yes you are completely right!</div><div><br></div><div> I had referred to a plug-in synopsis which had put the Interval setting within the <plugin ..> block .</div><div> As you say the Interval needs to be added by creating a block for the loadplugin section i.e. <LoadPlugin cpu>... I tried this for cpu ethstat etc and now works as expected.</div>
<div><br></div><div>I should have read the synopsis in the manpage for collectd.conf more carefully!</div><div><br></div><div>Many Thanks</div><div>Andy</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 10 May 2014 22:20, Marc Fournier <span dir="ltr"><<a href="mailto:marc.fournier@camptocamp.com" target="_blank">marc.fournier@camptocamp.com</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>
Excerpts from andrewbooty .'s message of 2014-05-09 23:22:22 +0200:<br>
<div class="">> I've been testing the 5.4.1 release of collectd and assumed that most core<br>
> plug-ins now supported the Interval feature to override the global setting.<br>
> For ethstat, interface and table this hasn't been implemented yet. So<br>
> wondering if there is a list of which plug-ins do currently support their<br>
> own interval settings. I could check the source code to see if Interval is<br>
> included in the callback function. But if Interval support was included in<br>
> say the wiki  plugin table that would be helpful.<br>
<br>
</div>*All* the plugins support custom intervals since 5.2.0. This is how you<br>
have to load a plugin with a non-default interval:<br>
<br>
  <LoadPlugin df><br>
    Interval 3600<br>
  </LoadPlugin><br>
<br>
What is a bit confusing, is that some plugins implement this or some<br>
similar behaviour themselves for various reasons.<br>
<a href="https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_netapp" target="_blank">https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_netapp</a><br>
is an example of such a plugin.<br>
<br>
So writing something like this *could* work for some plugins, but is not<br>
the correct way of using this feature:<br>
<br>
  LoadPlugin df<br>
  <Plugin df><br>
    Interval 3600<br>
  </Plugin><br>
<br>
Could there be some misunderstanding on your side ? Or do you have<br>
reasons to believe there's something wrong with the ethstat, interface<br>
and table plugins and not the others ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Marc<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Andy Booty<br><a href="http://www.markcrosswindmill.co.uk" target="_blank">www.markcrosswindmill.co.uk</a><br>Mobile  07426 020428</div>

</div>