[Xymon] Delayed FILE NOEXIST Status Change?

Carl Melgaard Carl.Melgaard at STAB.RM.DK
Wed Jan 11 11:44:41 CET 2012


Hi,

Take a look at "delayyellow" and "delayred" in hosts.cfg

Regards,

Carl Melgaard
________________________________
Fra: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] På vegne af Lose, James
Sendt: 11. januar 2012 11:04
Til: xymon at xymon.com
Emne: [Xymon] Delayed FILE NOEXIST Status Change?

I want to generate an alarm when an error file is detected, but only if the file is detected for two or more consecutive polling cycles.

My current configuration for monitoring and analyzing the results are as follows:

client-local.cfg
------------------
file:/tmp/error

analysis.cfg
-------------
FILE /tmp/error NOEXIST

This configuration generates an alarm (e.g. changes the file test status to red) as soon as the error file is detected.

Can the FILE NOEXIST rule be modified to include an MTIME>600 check to insure that the status change does not occur for short-lived problems?

Thanks,

Bob

________________________________
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120111/82acb7d5/attachment.html>


More information about the Xymon mailing list