Page 1 of 1
delay notifications after hours
Posted: Thu Oct 10, 2013 10:24 am
by andrew2036
After hours, we have servers that are rebooting due to updates and they often can take several minutes to come back up. This frequently results in a Host Down and then a Host Up notification. Is there a way in Nagios 3 to have an after hours setup that either delays the notifications or adjusts the parameters that determine whether a host is down in order to avoid getting these false positives?
Re: delay notifications after hours
Posted: Thu Oct 10, 2013 10:50 am
by tmcdonald
Take a look at scheduled downtime:
http://nagios.sourceforge.net/docs/3_0/downtime.html
You can do Fixed if you know what time the host goes down, or Flexible if you know it will happen but not when.
Re: delay notifications after hours
Posted: Thu Oct 10, 2013 10:50 am
by abrist
You can do this through timeperiods as well. Create a new timeperiod that excludes (or does not include) the after hours that your servers are under maintenance. Use this new time period for the hosts / services that are affected by the maintenance.
Re: delay notifications after hours
Posted: Thu Oct 10, 2013 6:19 pm
by andrew2036
abrist wrote:You can do this through timeperiods as well. Create a new timeperiod that excludes (or does not include) the after hours that your servers are under maintenance. Use this new time period for the hosts / services that are affected by the maintenance.
If I use timeperiods to exclude (for example) midnight to 5am, if a host goes down during that time period and remains down past 5am will I get a notification?
Re: delay notifications after hours
Posted: Fri Oct 11, 2013 11:29 am
by abrist
Yes. Because the checks will fail once they start after the timperiod starts. Passive checks will trip freshness after the freshness interval as well.