On Nov 20, 2009, at 11:05 , Anders Synstad wrote:
Doing some testing, I notice that the polling interval doesn't seem to update with the failure_interval after a montrap is received causing the service to fail.If you manually test the service, it updates the polling interval correctly, and after mon does the first check of the service after the montrap is received, interval is also updated. But not when the actual trap is received.Is this intentional, by design or a bug? I would think that the wanted behaviour would be to update the interval (call reset_timer()?) when a montrap is received aswell?
Since traps are asynchronous, updating the polling interval is generally meaningless (or at least lacking context).
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon