[collectd] Persist do not work correctly on missing values

Andrés J. Díaz ajdiaz at connectical.com
Sat May 23 11:15:11 CEST 2009


Hi all!

I attached a patch to solve a problem related with notifications. When
a value is missing for a while (2 intervals), a FAILURE notification
is raised, and
if Persist is false, the notification is repeated each interval, but
man page says:

       If set to false (the default) then a notification
       is only generated if a value is out of range but the previous value
       was okay.

So, I think that is a bug, if not I'm sorry for the noise :)

Regards,
  Andres

P.S.: The problem is only a mixing in if conditions into
uc_check_timeout function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_persist.patch
Type: text/x-patch
Size: 575 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090523/bf1568e0/attachment.bin 


More information about the collectd mailing list