Initial Nagios Startup Notification Delay

Morris, Patrick patrick.morris at hp.com
Mon Aug 24 22:29:41 CEST 2009


On Wed, 19 Aug 2009, Andrew Bruce wrote:

> Hi,
> 
> I'm running Nagios 3.0.3 and am wondering if there is a way I can delay
> notifications out of Nagios by x minutes from initial application startup?
> 
> If the service/host were still down after this initial startup
> non-notification period, I would expect to receive a notification though.
> 
> It would be quite handy, as I send alerts to cell phones, and receiving a
> very large amount of TXT messages can be frustrating, especially in a
> meeting.
> 
> Is there a function like this available?  I haven't seen anything in the
> documentation that would suggest it is (although could have missed it).

You could turn off notifications via the external command pipe on startup,
sleep x minutes, then turn them on.

The DISABLE_NOTIFICATIONS and ENABLE_NOTIFICATIONS external commands 
should do what you want.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list