[hobbit] DOWNTIME ALERTS
Stuffle, David (Corporate)
David.Stuffle at adesa.com
Thu Jun 5 18:48:52 CEST 2008
Try it like this:
ipaddr someserver # "DOWNTIME=*:2200:0730:Nightly Reboot"
Quoting the entire DOWNTIME tag is needed when specifying a reason. (at
least it works for me)
From: Tim McCloskey [mailto:devzero at cox.net]
Sent: Thursday, June 05, 2008 11:50 AM
To: hobbit at hswn.dk
Subject: [hobbit] DOWNTIME ALERTS
First thank you for the fantastic tool which I have been using for quite
some time now.
I tried using DOWNTIME in bb-hosts instead of using TIME in
hobbit-alerts to ignore alerting on some nightly reboots and inform
operators via the info page what is going on.
DOWNTIME really appears to be a better approach, if I could make it work
Though I've read some of the posts and documentation I think my
configuration (below) is perhaps wrong as alerts are sent during the
downtime window. Do I need to specify a service, or am I simply
misunderstanding the concept?
ipaddr someserver # DOWNTIME=*:2200:0730:"Nightly Reboot"
SCRIPT page-primary.sh FORMAT=sms
SCRIPT page-secondary.sh DURATION>60
## also have the following to just spew email on everything.
SCRIPT mail-primary.sh FORMAT=sms
COLOR=red DURATION>6 REPEAT=60
SCRIPT mail-secondary.sh FORMAT=sms
COLOR=red DURATION>60 REPEAT=60
/bin/mail -s "$BBSVCNAME $BBHOSTNAME $MACHIP"
some-mail-addr at some-place.tld < /dev/null
Wed Jun 4 23:04:54 2008 someserver.conn (ipaddr) FORMAT=sms 1212645894
500 Wed Jun 4 23:04:54 2008 someserver.conn (ipaddr) DURATION>60
1212645894 500 Wed Jun 4 23:06:16 2008 someserver.conn (ipaddr)
FORMAT=sms 1212645976 500 82
From "info" page:
Planned downtime: All days:2200:0730:Nightly Reboot Network tests use:
Hostname Checked with ping: Yes
Thanks and Regards,
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon