Event Handlers and Downtime

Ethan Galstad nagios at nagios.org
Thu Nov 14 04:02:45 CET 2002


Event handlers do run during scheduled downtime.  Short of parsing 
the status log, there's no easy way for a script to determine whether 
or not a host/service is in a period of scheduled downtime.  I'll 
look into adding two new macros for this in 2.0.

On 8 Nov 2002 at 9:52, Volker.Aust at premiere.de wrote:

> This would be a very important feature! In the meantime: is there a way to
> read the downtime status of a host or service?
> 
> -vol
> 
> > -----Original Message-----
> > From: Russell Scibetti [mailto:russell at quadrix.com]
> > Sent: Monday, November 04, 2002 10:49 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Event Handlers and Downtime
> > 
> > 
> > My co-worked raised a very good point about using event handlers to 
> > restart a service.  He wanted to know if a host or service being in a 
> > scheduled downtime would prevent the event handler from running, the 
> > logic being that if you have a box/service down to do work, you don't 
> > want something else trying to restart it.
> > 
> > The only thing I can see about downtime is that is suppresses 
> > notification.  Does is also suppress the execution of event handlers? 
> >  If not, would this be a desirable feature?  I know event 
> > handlers can 
> > do lots of things, so maybe the better option would be to allow 
> > configuration of what a downtime suppresses.
> > 
> > Any help on this would be appreciated.  Thanks.
> > 
> > -Russell
> > 
> > -- 
> > Russell Scibetti
> > Quadrix Solutions, Inc.
> > http://www.quadrix.com
> > (732) 235-2335, ext. 7038
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: ApacheCon, November 18-21 in
> > Las Vegas (supported by COMDEX), the only Apache event to be
> > fully supported by the ASF. http://www.apachecon.com
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html




More information about the Users mailing list