Thanks for the reply.
If I understand DURATION ( DURATION<5m) correctly that says if HostA is down for more than five minutes alert, if not do nothing.
I basically want to put a hold on the Alert for that rule for 15minutes after it's triggered.
In BB they write an entry in /bbvar/notifications with the mail address with a timestamp of +15m. As long as that entry is in there, you won't get double paged.
--Pat
-----Original Message----- From: Jason Chambers [mailto:Jason.Chambers at geosoft.com] Sent: Friday, November 18, 2005 1:22 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Alert Setup Question
I think you want the DURATION tag!
http://hobbitmon.sourceforge.net/docs/manpages/man5/hobbit-alerts.cfg.5. html this site should help you.
Jason Chambers IT Helpdesk Support Geosoft Inc. 85 Richmond St. West - 8th Floor Toronto, Ontario, Canada M5H 2C9 Tel: 416-369-0111 x344 Fax: 416-369-9599 www.geosoft.com
-----Original Message----- From: PNIXON at ci.somerville.ma.us [mailto:PNIXON at ci.somerville.ma.us] Sent: Friday, November 18, 2005 12:35 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Alert Setup Question
Now for the rest of my email....
Okay, I'm working on getting my alerts setup.
My current hobbit-alert.cfg is: $IGNPAT=%(annex-nw|gozo|mis-server)
EXHOST=$IGNPAT MAIL pnixon at ci.somerville.ma.us REPEAT=5m
EXHOST=$IGNPAT,%sps* TIME=*:0800:1700 MAIL 6175559689 at myairmail.com REPEAT=15m FORMAT=SMS MAIL 6175559776 at myairmail.com REPEAT=15m FORMAT=SMS
I need to have it email the pager group for the first alert in a 15minute window, and then for 15minute intervals.
Suggestions?
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Fri, Nov 18, 2005, PNIXON at ci.somerville.ma.us wrote:
7:00 HostA generates an alert which gets sent to pageme at here.com 7:05 HostB generates an alert which does not get sent to pageme at here.com because they got paged in the 15 minutes 7:18 HostA is fixed now, but HostB is still broken and generating an alert, which gets sent to pageme at here.com 7:22 HostC breaks now, no Alert to pageme at here.com 7:33 HostB is still Broken, sends an alert to pageme at here.com
Not possible.
The Hobbit alert module doesn't really have the concept of "page groups"; if you want to compare with BB, it behaves like the BB pager with "pagetype" set to "EVENT". Each recipient configured to receive an alert for a specific HOST.TEST combination gets all alerts; there is no way of configuring Hobbit to send max. N alerts to a given recipient in a 15-minute period.
I'm not saying that is the optimum solution for everyone, and it might be changed if you can convince me there is enough people who need it - but so far, you're the first one to ask for such a feature.
Henrik
participants (2)
-
henrik@hswn.dk
-
PNIXON@ci.somerville.ma.us