Xymon Mailing List Archive search

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

list Tom Schmitt
Wed, 16 Dec 2009 15:08:17 -0700
Message-Id: <user-3ce98067ec42@xymon.invalid>

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 user-21554e0f02c5@xymon.invalid TIME=*:0000:0300
TIME=*:0330:2359

 
OR  -  Would this also be acceptable?

HOST=def.com SERVICE=conn RECOVERED 

                                MAIL user-21554e0f02c5@xymon.invalid TIME=*:0000:0300

                                MAIL user-21554e0f02c5@xymon.invalid 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  XXXXX

Phone (XXX) XXX-XXXX

Cell      (XXX) XXX-XXXX

eFax    (XXX) XXX-XXXX

user-9c1ae820b621@xymon.invalid

           \\\\||////

             \ ~  ~ /  

             | @  @ |   

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

 
From: user-9c1ae820b621@xymon.invalid [mailto:user-9c1ae820b621@xymon.invalid] 
Sent: Friday, December 04, 2009 12:32 PM
To: user-ae9b8668bcde@xymon.invalid
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 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--