<div class="gmail_quote">On Dec 5, 2007 8:41 PM, Sebastian Harl <<a href="mailto:sh@tokkee.org" target="_blank">sh@tokkee.org</a>> 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>> when a plugin read fail, "The time between the calls of the function is<br>> increased exponentially until one day (86400 seconds)". Maybe a<br>> "PluginRetries" global parameter can be useful.
<br>><br>> Two option (I think) ...<br>> - First, an integer to the max seconds (now hardcoded 86400).<br>> - Second option is a string with a increment especification (like<br>> at mail queue runner),
p.e. "F,2h,15m; G,16h,1h,1.5; F,4d,6h" ....<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't really see any benefits from it (besides
<br>confusing most of the users)...</blockquote></div><div><br>Currently, I'm working on a tomcat plugin (soon I will send you , I'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>> And .. this configuration per plugin ??
<br>
<br></div>Hum... making this configurable on a per plugin base would make things<br>somewhat complex - I'm not sure if it'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 "tokkee" 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. -- 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>