[collectd] PluginRetries
Florian Forster
octo at verplant.org
Sat Dec 8 12:05:06 CET 2007
Hi Justo,
On Wed, Dec 05, 2007 at 04:54:17PM +0100, Justo Alonso wrote:
> Maybe a "PluginRetries" global parameter can be useful.
sorry for asking so dumb, but: Why? Do you have a scenario where this
would be helpful?
> Two option (I think) ...
> - First, an integer to the max seconds (now hardcoded 86400).
This would be okay if there's a good reason for the additional code.
> - Second option is a string with a increment especification (like at
> mail queue runner), p.e. "F,2h,15m; G,16h,1h,1.5; F,4d,6h" ....
When a plugin fails something is broken. This is not normal behavior and
doesn't justify such a complex configuration and related code. The
current increment basically says: ``It's been broken for n seconds, so
I'll try again in another n seconds.'' When the one day maximum is
reached the plugin has been malfunctioning for one day - it's okay to
assume it'll be broken for another day.
> And .. this configuration per plugin ??
No, definitely not.
Regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20071208/4f12a49d/attachment.pgp
More information about the collectd
mailing list