FW: [hobbit] TS - Trying to create an escalation in hobbit-alerts.cfg

d.tom.schmitt at L-3com.com d.tom.schmitt at L-3com.com
Wed Dec 16 23:08:17 CET 2009


I sent this out 12/4/2009 and got no responses.  Can anyone guide me in
the correct direction?

I also have another request:

                If I have 10 windows servers that reboot every night
between 3-3:30am and I don't want to notify, and wake up, during this
timeframe,

                would I require multiple hobbit-alerts.cfg entries for
that server?  Of the following lines, which will function correctly?

 

                Can I have multiple TIME= options on the HOST= line?

                Also, does the server understand 0000 = midnight? Or
2400?

 

                HOST=def.com SERVICE=conn RECOVERED TIME=*:0000:0300
TIME=*:0330:2359

                                MAIL ....

 

                OR  -  Would this also be acceptable?

                HOST=def.com SERVICE=conn RECOVERED 

                                MAIL tom at def.com TIME=*:0000:0300
TIME=*:0330:2359

 

OR  -  Would this also be acceptable?

HOST=def.com SERVICE=conn RECOVERED 

                                MAIL tom at def.com TIME=*:0000:0300

                                MAIL tom at def.com TIME=*:0330:2359

 

 

Thanks,

 

Tom Schmitt

Senior IT Staff - R&D

L-3 Communication Systems West

640 North 2200 West

P.O. Box 16850

Salt Lake City, UT  84116

Phone (801) 594-3030

Cell      (801) 231-7230

eFax    (413) 480-6873

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

           \\\\||////

             \ ~  ~ /  

             | @  @ |   

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

 

From: d.tom.schmitt at L-3com.com [mailto:d.tom.schmitt at L-3com.com] 
Sent: Friday, December 04, 2009 12:32 PM
To: hobbit at hswn.dk
Subject: [hobbit] TS - Trying to create an escalation in
hobbit-alerts.cfg

 

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/20091216/87d34513/attachment.html>


More information about the Xymon mailing list