delay notifications after hours
-
- Posts: 2
- Joined: Thu Oct 10, 2013 9:37 am
delay notifications after hours
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
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.
You can do Fixed if you know what time the host goes down, or Flexible if you know it will happen but not when.
Former Nagios employee
Re: delay notifications after hours
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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 2
- Joined: Thu Oct 10, 2013 9:37 am
Re: delay notifications after hours
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?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.
Re: delay notifications after hours
Yes. Because the checks will fail once they start after the timperiod starts. Passive checks will trip freshness after the freshness interval as well.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.