[xymon] Disable alerts if $SOME_SERVICE is down
Eric Meddaugh
etmsys at rit.edu
Thu Aug 19 12:43:59 CEST 2010
What we do is have all the alert scripts check at the top for a file, like this:
if [ -f "/home/hobbit/NOALERT" ] ; then
exit 0
fi
You'd just need a separate job that would say ping the default router on the hobbit server, which it's unavailable, touch the file, when it's back wait x minutes, then remove the file.
Also, the "route" tag may do something like this, but you may have to place it on each host...or the "depends" tag.
---Eric
-----Original Message-----
From: Take [mailto:take at nerd.fi]
Sent: Thursday, August 19, 2010 6:08 AM
To: xymon at xymon.com
Subject: [xymon] Disable alerts if $SOME_SERVICE is down
Hello!
I've been trying to find a way to ignore alerts if i.e. xymon's local
connection is down. Currently our xymon -server sends alerts from every
host if the local connection goes down. Unfortunately in our current
setup that's quite possible scenario and things are going to the
direction where the boy cried wolf too often.
So, how I could restrict alerts so, that if local connection (or any
other service for the matter) fails, alerts won't trigger?
--
Take
To unsubscribe from the xymon list, send an e-mail to
xymon-unsubscribe at xymon.com
More information about the Xymon
mailing list