<div class="gmail_quote">On Dec 5, 2007 8:41 PM, Sebastian Harl &lt;<a href="mailto:sh@tokkee.org" target="_blank">sh@tokkee.org</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Justo,</blockquote><div>Hi Sebastian, <br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div><br>On Wed, Dec 05, 2007 at 04:54:17PM +0100, Justo Alonso wrote:
<br>&gt; &nbsp; &nbsp; when a plugin read fail, &quot;The time between the calls of the function is<br>&gt; increased exponentially until one day (86400 seconds)&quot;. Maybe a<br>&gt; &quot;PluginRetries&quot; global parameter can be useful.
<br>&gt;<br>&gt; &nbsp; &nbsp;Two option (I think) ...<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- First, an integer to the max seconds (now hardcoded 86400).<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- Second option is a string with a increment especification (like<br>&gt; at mail queue runner), 
p.e. &quot;F,2h,15m; G,16h,1h,1.5; F,4d,6h&quot; ....<br><br></div>What kind of benefit would that be for the user? Any such option should not be<br>hard to implement but I don&#39;t really see any benefits from it (besides
<br>confusing most of the users)...</blockquote></div><div><br>Currently, I&#39;m working on a tomcat plugin (soon I&nbsp; will send you , I&#39;m testing it). When I need stop the tomcat (not-hot deploy, patchs, etc...) I need restart collectd. With a 30 seconds interval .. if I stop the tomcat by 180 seconds, I have a no-stats period of 480-960 seconds .. ;-(
<br><br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div><br>&gt; &nbsp; &nbsp;And .. this configuration per plugin ??
<br>
<br></div>Hum... making this configurable on a per plugin base would make things<br>somewhat complex - I&#39;m not sure if it&#39;s worth the efforts.</blockquote></div><div><br>Maybe a new callback function on the plugin ... interval( int mode, int seconds ). If the callback function is not NULL, when need the interval we call to interval function with PLUGIN_INTERVAL_GET mode ... when we need increase interval call it with PLUGIN_INTERVAL_INCREASE mode and when we need reset interval (read function ok), call it with PLUGIN_INTERVAL_RESET mode .... If the callback function is NULL all work at this time.
<br><br>umm<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>Cheers,<br>Sebastian</blockquote><div><br>tia, and sorry for my english ;-)
<br>justo <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><font color="#888888"><br>--<div class="Ih2E3d"><br>Sebastian &quot;tokkee&quot; Harl +++ GnuPG-ID: 0x8501C7FC +++ 
<a href="http://tokkee.org/" target="_blank">http://tokkee.org/</a><br><br>Those who would give up Essential Liberty to purchase a little Temporary<br>Safety, deserve neither Liberty nor Safety. &nbsp; &nbsp; &nbsp; &nbsp; -- Benjamin Franklin
<br><br></div></font><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.6 (GNU/Linux)<br><br>iD8DBQFHVv7+EFEKc4UBx/wRAlhCAKCEKEc7DTB/D1tbVypaCL4C1MWD3ACeMBxz<br>5hGuQsII/+PjeUQFhhOwiFw=<br>=/iis<br>-----END PGP SIGNATURE-----
<br><br>_______________________________________________<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/listinfo/collectd</a><br><br></blockquote></div><br>
</div><br>