Alerting on UP / DOWN

d.tom.schmitt at L-3com.com d.tom.schmitt at L-3com.com
Tue Nov 3 00:45:58 CET 2009


I am running Xymon-4.3.0-0.beta2 on CentOS 5.3.

 

When I create a bash shell script to be used from the hobbit-alerts.cfg
file, 

I only receive one alert for going DOWN and one for RECOVERY.

Is this by design?

Do you only get multiple alerts for down if you request them?
REPEAT=30m

 

I have monitor2 watching monitor1 and if connectivity fails, it assumes
the responsibilities of monitor1 until monitor1 is available.

The script watches for events DOWN (1st time) and RECOVER to move the
appropriate files for alerting.

I have both systems monitoring but only one alerting.

 

The files are kept current by using RSYNC between the two systems.  This
also creates a backup of each system on the opposite system for a
re-build.

 

The seconds question is then, if I want to have an escalation to the
next level up, do I have to use the same HOST entry or do I create a
separate one?

 

HOST=monitor1.csw.l-3com.com SERVICE=conn RECOVERED DURATION>9m

        MAIL D.Tom.Schmitt at L-3Com.com COLOR=red REPEAT=4d

        SCRIPT /home/xymon/SCRIPTS/takeover.sh 911

 

2nd entry for escalation:

HOST=monitor1.csw.l-3com.com SERVICE=conn RECOVERED DURATION>1h

        MAIL The.Boss at L-3Com.com COLOR=red REPEAT=4d

 

 

Thanks,

 

Tom Schmitt

Senior IT Staff - R&D

Phone (801) 594-3030

Cell      (801) 231-7230

D.Tom.Schmitt at L-3Com.com

           \\\\||////

     \ ~  ~ /  

              | @  @ |   

--oOo---(_)---oOo--

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20091102/11fd51ad/attachment.html>


More information about the Xymon mailing list