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

d.tom.schmitt at L-3com.com d.tom.schmitt at L-3com.com
Fri Dec 4 20:31:51 CET 2009


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 billybob at abc.com      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 jimmyjames at abc.com  COLOR=red
REPEAT=60m

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

                                 # WEEKEND  Notify after 3 hours

                                MAIL hank at abc.com   COLOR=red REPEAT=7d

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

                                # WEEKEND  Notify after 8 hours

                                 MAIL jullie at abc.com   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

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

           \\\\||////

             \ ~  ~ /  

             | @  @ |   

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

 

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


More information about the Xymon mailing list