<p dir="ltr">The easiest way is normally to make the processes long lived.  Instead of the process you're running from collectd exiting once it's returned some data it should instead run in a forever style loop, returning some data then sleeping for the required length of time before returning more data and sleeping again etc.</p>
<p dir="ltr">If the command you're running can't do that, easiest way is to wrap it in a quick shell script which handles running the real command and doing the sleeping.</p>
<p dir="ltr">Cheers,</p>
<div class="gmail_quote">On 1 Dec 2015 19:26, "Lat P" <<a href="mailto:lat.lat.p@gmail.com">lat.lat.p@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I have multiple exec plugins in collectd and I would like collectd to execute each of them at different intervals. I specified the below Interval value in the exec plugin config file <br><br><LoadPlugin exec><br>    Interval 240<br></LoadPlugin><br><br></div>With the above, collectd is executing all the scripts with 240 seconds interval. <br><br></div>Is it possible to specify collectd to exec one script with 60 seconds interval, another script at 240 seconds interval and another at 600 seconds interval?<br><br></div>Thanks<br></div>Lat<br><div><div><div><div><br><br></div></div></div></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" rel="noreferrer" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></div>