Page 2 of 3
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 1:19 pm
by bosecorp
you mean something like this
this is one of the templates that monitors the port status
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 1:22 pm
by tmcdonald
You will need to make sure that the services using that template aren't disabling alerts on their own config pages, since that will overwrite whatever you have set in the template. Also make sure your contacts themselves have notifications enabled and that the commands are valid.
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 1:36 pm
by bosecorp
Ok. couple more questions
on the prev. screen shoot I have every minute, but if I decide to do it every 5 minutes.
base on the escalation is attached escalation I will get the escalation email after 20 minutes, right?
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 1:48 pm
by lmiltchev
base on the escalation is attached escalation I will get the escalation email after 20 minutes, right?
I don't think this is correct. The first "escalated" notification will go out after all of the "regular" 15 notifications are sent... and they will be sent on 30 min interval.
Serviceescalation - first notification
This directive is a number that identifies the first notification for which this escalation is effective. For instance, if you set this value to 3, this escalation will only be used if the service is in a non-OK state long enough for a third notification to go out.
Parameter name: first_notification
Required: yes
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 1:54 pm
by bosecorp
the last picture was for the service escalation, the one before that was for the service template.
based on that, I have the service template set to every one minute.
then the service escalation until 15 min.
I checked in notifications and I only see one notification, despite the fact I said every minutues.
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 2:12 pm
by lmiltchev
I am sorry - I was looking at the escalations config but not at the service template.

Yes, the first escalated notification should go out after 15 min, well 16 (first notification delay = 1 min).
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 2:22 pm
by bosecorp
well. is not happening. I saw the first notification and the service still down. I have not seen another notification and therefore there won;t be escalation
Re: email alert for Service Escalation not working
Posted: Mon Apr 27, 2015 3:39 pm
by bosecorp
after watching it. seems to create a notification every hour. I am trying to figure out, where that is coming from
Re: email alert for Service Escalation not working
Posted: Tue Apr 28, 2015 10:12 am
by lmiltchev
You haven't changed the "interval_length" default value in the "nagios.cfg", have you?
Code: Select all
grep interval_length /usr/local/nagios/etc/nagios.cfg
We may need to move this issue to our email ticketing system. Can you send us your latest profile at
[email protected]?
Admin->System Profile->Download Profile
Re: email alert for Service Escalation not working
Posted: Tue Apr 28, 2015 4:00 pm
by bosecorp
here is what is happening.
* normal notifications happen every minute
* First escalation has the following config; first Notification=>1, Last notification=>120 and Notification Interval is 30
* I have a second escalation and has the following config; first Notification=>3, Last notification=>120 and Notification Interval is 60
Last night I had a outage, everything worked as expected up to the first escalation. the second escalation happened 90 minutes later after the outage. the second escalation should have been triggered 3 minutes after the first escalation, right