Israel Brewster wrote: > On Dec 15, 2007, at 12:24 AM, Andreas Ericsson wrote: > >> Israel Brewster wrote: >>> I need some clarification of how nagios will respond to something I >>> am trying to do. I have a number of hosts I am monitoring that I >>> want nagios to note immediately (well, almost) if they go down, >>> but I don't want to receive a notification unless they stay in a >>> hard down state for more than, say, 5 minutes. Now if I understand >>> things correctly, I can accomplish this using host escalations by >>> setting the notification options on the host to n (none) and the >>> notification interval to 5 minutes, and then setting up a host >>> escalation with a first_notification directive of 2. Does this >>> sound correct? >>> I have a couple of concerns about this setup. From my reading of >>> the documentation (correct me if I am wrong), it sounds as though >>> escalations only change the contact_groups and notification_periods >>> of the notifications. If I have the notification options of the >>> host set to n, does the escalation override this? If not, and I >>> set the host notification options to, say, d,r, then how do I >>> prevent a notification being sent out immediately when the host >>> goes down? Does the notification_interval directive even have any >>> effect if the notification_options are set to none? The last thing >>> I want to do is try making this change, and end up not being >>> notified at all when a host goes down for an extended period of >>> time. Thanks. >> You should be able to use "first_notification_delay" for this. I'm not >> sure which version it's included in, but 3.x will almost certainly >> have >> it. >> > > Thanks for the info. That sounds like exactly what I am looking for, > but from what I can tell it is not available in version 2.7 (which is > what I am running) - at any rate, I couldn't find it in the > documentation. I plan on moving to 3 as soon after it is released as I > can manage (and my boss allows), but for now I need a solution that > works with 2.7 >
The patch was originally written for nagios 2.x. If you find it in the archives you should be able to apply it to the nagios 2.7 sources and then re-compile your Nagios. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null