Xymon Mailing List Archive search

TS - Trying to create an escalation in hobbit-alerts.cfg

list Tom Schmitt
Fri, 4 Dec 2009 12:31:51 -0700
Message-Id: <user-be00df5eaef5@xymon.invalid>

It the best way to create an escalation to do it:

                
HOST=abc.com SERVICE=conn RECOVERED

                                # EVERYDAY Notify immediately and every
10 minutes

                                MAIL user-f55a5d8949ef@xymon.invalid      COLOR=red
REPEAT=10m

HOST=abc.com SERVICE=conn RECOVERED TIME=1-5:0000-2359 DURATION>59m

                                 # WEEKDAY  Notify weekdays after 1 hour
and every hour

                                 MAIL user-798c0a3e2e46@xymon.invalid  COLOR=red
REPEAT=60m

HOST=abc.com SERVICE=conn TIME=0,6 RECOVERED DURATION>179m

                                 # WEEKEND  Notify after 3 hours

                                MAIL user-e69d11f3e576@xymon.invalid   COLOR=red REPEAT=7d

HOST=abc.com SERVICE=conn TIME=0,6 RECOVERED DURATION>479m

                                # WEEKEND  Notify after 8 hours

                                 MAIL user-2147a2355e9a@xymon.invalid   COLOR=red
REPEAT=7d

 
I don't believe that the DURATION= can be used on the MAIL line only on
the HOST= line per the help on the web page.

 
Will this work as stated?

If you don't put SERVICE= on the line will it function for all services?
Or do you need something line '=*'?

   
Thanks,

 
Tom Schmitt

Senior IT Staff - R&D

user-9c1ae820b621@xymon.invalid

           \\\\||////

             \ ~  ~ /  

             | @  @ |   

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