down-times for hosts?

Garry Cook Garry.Cook at mactec.com
Tue Sep 24 16:17:06 CEST 2002


As Russell mentioned, 'scheduling downtime' only suppresses notifications, so doing this WILL affect your statistics if the host/service is down during the timeperiod in question. I believe that the best way to accomplish what you want to do would be to create a timeperiod that does NOT include the downtime. Then, use this timeperiod for the 'check_period' in your service definitions. If none of the services on a host are being checked during a certain time, they should not appear as down, and therefore the host will not be checked either. 
 
Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 303.881.5157 (Mobile)


-----Original Message-----
From: Russell Scibetti [mailto:russell at quadrix.com]
Sent: Tuesday, September 24, 2002 7:57 AM
To: Nicole Hähnel
Cc: Nagios
Subject: Re: [Nagios-users] down-times for hosts?


The way nagios handles downtime (assuming you are talking about entering in scheduled downtime) is as a suppression of notifications, not a suppression of checks.  If you put a host into a scheduled downtime, the service check will occur still.  If that service is down, nagios will then do a host check.  If the host is down (the downtime has begun), it will show that the host is down.  But when it goes to do the notification, it checks to see if the host is in a period of downtime.  Since it is, the notifications will not go out, but the host will be in a down state, not assumed OK.

This is actually beneficial if the downtime ends and for some reason a problem still exists.  The host or service should have come back up but hasn't.  So instead of having to go through all the retries (if you have retries set up), the host/service is already in a Hard non-OK state, so you will get notified after the first check.

-Russell

Nicole Hähnel wrote:


Hi,
what is the best way to specifiy down times for server/services?
Nagios should not check the service and assume up for this time.
It should not affect uptime statistics.
 
Gruss
Nicole


-- 

Russell Scibetti

Quadrix Solutions, Inc.

http://www.quadrix.com

(732) 235-2335, ext. 7038


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020924/e5a6cd84/attachment.html>


More information about the Users mailing list