email alert for Service Escalation not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post by bosecorp »

you mean something like this

this is one of the templates that monitors the port status
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: email alert for Service Escalation not working

Post 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.
Former Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post 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?
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: email alert for Service Escalation not working

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: email alert for Service Escalation not working

Post by lmiltchev »

I am sorry - I was looking at the escalations config but not at the service template. :oops: Yes, the first escalated notification should go out after 15 min, well 16 (first notification delay = 1 min).
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post 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
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post by bosecorp »

after watching it. seems to create a notification every hour. I am trying to figure out, where that is coming from
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: email alert for Service Escalation not working

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post 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
Locked