Xymon Mailing List Archive search

Alerting on UP / DOWN

list Tom Schmitt
Mon, 2 Nov 2009 16:45:58 -0700
Message-Id: <user-6c493c4f2005@xymon.invalid>

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 user-9c1ae820b621@xymon.invalid 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 user-d8a1695f943e@xymon.invalid COLOR=red REPEAT=4d

 
Thanks,

 
Tom Schmitt

Senior IT Staff - R&D

Phone (XXX) XXX-XXXX

Cell      (XXX) XXX-XXXX

user-9c1ae820b621@xymon.invalid

           \\\\||////

     \ ~  ~ /  

              | @  @ |   

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