Page 1 of 1
How do I limit notifications for one event?
Posted: Wed Aug 08, 2012 3:36 pm
by jbruyet
Hey all, whenever there's a lengthy event on a computer being monitored by my Nagios server I receive many, many notifications. For example, if a co-worker goes home and he turns off his computer I get several notifications advising me that the computer is down (I just pulled a four day weekend and had several thousand notifications, and that's with about 60 computers and eight servers). I was just looking through some of the Notifications documentation to see how to limit notifications to just two but I couldn't find anything to do that. There must be a way to do that but I can't see anything. Have any of you reconfigured your Nagios notifications so that you only get one or two notifications for lengthy events? If so please point me to some documentation so I can get my server configured that way.
Thanks,
Joe B
Re: How do I limit notifications for one event?
Posted: Wed Aug 08, 2012 6:30 pm
by jsmurphy
Well... there are ways of solving this problem, but there's no native "max_notifications" style configuration option.
1. Create two contact objects, one for business hours and one for out of hours with different notification intervals.
2. You could also do this by using host/service escalations and escalating to a dummy contact that has no contact details/doesn't receive notifications.
http://nagios.sourceforge.net/docs/3_0/escalations.html
Re: How do I limit notifications for one event?
Posted: Thu Aug 09, 2012 3:30 pm
by jbruyet
Thanks jsmurphy. I figured that since I couldn't find anything relating to "max_notifications" then it probably didn't exist. I'll look into your two options.
Thanks,
Joe B
Re: How do I limit notifications for one event?
Posted: Thu Aug 09, 2012 7:00 pm
by jsmurphy
I had a third idea... you could use an eventhandler to acknowledge the problems if it's in a hard state and out of business hours. At any rate I'm sure you will find a way to solve it

Re: How do I limit notifications for one event?
Posted: Tue Aug 21, 2012 2:20 pm
by theteck
if you set a dependency for eatch server ... when one in the chain go down you dont receive all other server in chain reaction !