Nagios Escalations and notification windows

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
stanfordlone
Posts: 2
Joined: Fri Nov 08, 2013 5:28 pm

Nagios Escalations and notification windows

Post by stanfordlone »

We're currently running Core 3.4.3 and have run into the following scenario:

check_period is 24x7
notification_period is 6AM - 8PM

We have a set of servers configured to send out notifications from 6AM-8PM, but with the given check_period, the services are continually checked whether notifications are sent or not. The issue that we run into is with escalations. If a service goes down in the middle of the night, then the first notification that goes out in the morning (6AM) is an escalation notification rather than a Service Down notification. The writing of the service escalation is to set escalations to be sent out after x number of notifications, but it appears that nagios counts notifications whether or not they actually go out. Is there any way to force nagios to only count ACTUAL sent out notifications when determining when to send out escalation emails?

In a related matter, is there any way to have regular notifications go out along with escalation emails? It appears that once escalations kick in, then all service/host contact groups are ignored. Is there any way to continue to have those users contacted in addition to the email addresses listed in escalations?

Thanks,
Lone
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Escalations and notification windows

Post by abrist »

stanfordlone wrote: Is there any way to force nagios to only count ACTUAL sent out notifications when determining when to send out escalation emails?
Yes. Set the escalation_period to match your notification_period.
stanfordlone wrote:In a related matter, is there any way to have regular notifications go out along with escalation emails? It appears that once escalations kick in, then all service/host contact groups are ignored. Is there any way to continue to have those users contacted in addition to the email addresses listed in escalations?
Nope. Escalations override notifications. Just add the contact in question to the escalations.
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.
Locked