Paul Nixon,
Thanks for the appropriate answers, I did not find the DOWNTIME= option
in the help portion of the screen.
But I did find it in the bb-hosts man page.
I'll give it a try ASAP!
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--
-----Original Message-----
From: Patrick Nixon [mailto:user-1f2406f832af@xymon.invalid]
Sent: Wednesday, December 16, 2009 3:34 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: FW: [hobbit] TS - Trying to create an escalation in hobbit-alerts.cfg
Tom,
Here's a snippet from my hobbit-alerts file
PAGE=hometown
MAIL user-ccc7b6580160@xymon.invalid DURATION>2 color=red REPEAT=120
RECOVERED EXSERVICE=pull EXHOST=serverb.server.com
MAIL user-ccc7b6580160@xymon.invalid DURATION>2 color=yellow
REPEAT=1440 RECOVERED EXSERVICE=pull EXHOST=serverb.server.com
MAIL user-ccc7b6580160@xymon.invalid DURATION>11 color=red
REPEAT=120 RECOVERED SERVICE=pull EXHOST=serverb.server.com
MAIL user-ccc7b6580160@xymon.invalid DURATION>11 color=yellow
REPEAT=1440 RECOVERED SERVICE=pull EXHOST=serverb.server.com
I think that answers your question from 12/4/2009
In regards to the nightly reboot, you should put a DOWNTIME into your
bb-hosts file, so during that time frame it'll go blue instead of red
0000 is midnight in hobbit/xymon
On Wed, Dec 16, 2009 at 5:08 PM, <user-9c1ae820b621@xymon.invalid> wrote: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--