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
Thu Dec 17 17:00:46 CET 2009
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 84116
Phone (801) 594-3030
Cell (801) 231-7230
eFax (413) 480-6873
D.Tom.Schmitt at L-3Com.com
\\\\||////
\ ~ ~ /
| @ @ |
--oOo---(_)---oOo--
-----Original Message-----
From: Patrick Nixon [mailto:pnixon at gmail.com]
Sent: Wednesday, December 16, 2009 3:34 PM
To: hobbit at hswn.dk
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 local_sysadmin at server.com DURATION>2 color=red REPEAT=120
RECOVERED EXSERVICE=pull EXHOST=serverb.server.com
MAIL local_sysadmin at server.com DURATION>2 color=yellow
REPEAT=1440 RECOVERED EXSERVICE=pull EXHOST=serverb.server.com
MAIL local_sysadmin at server.com DURATION>11 color=red
REPEAT=120 RECOVERED SERVICE=pull EXHOST=serverb.server.com
MAIL local_sysadmin at server.com 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, <d.tom.schmitt at l-3com.com> 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 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--
>
>
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list