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

email alert for Service Escalation not working

Post by bosecorp »

I am not receiving any service escalation alert

I have a service escalation that is associated to couple host with all the respective services. even though I have an active alert in nagios, I am not receiving any alert
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: email alert for Service Escalation not working

Post by jolson »

This document explains escalations, for your reference: http://assets.nagios.com/downloads/nagi ... ations.pdf

Would you please show us your escalation definitions?

Code: Select all

cat /usr/local/nagios/etc/serviceescalations.cfg

Code: Select all

cat /usr/local/nagios/etc/hostescalations.cfg
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post by bosecorp »

Host escalation is fine. just service escalation

below is the info you ask for. I did followed the document. that is the document that I used to set this up

# cat /usr/local/nagios/etc/serviceescalations.cfg
###############################################################################
#
# Service escalations configuration file
#
# Created by: Nagios Core Config Manager 2.2.2
# Date: 2015-04-24 13:32:27
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define serviceescalation {
host_name crgnas1.bose.com
service_description Check /vol/vol0,Check /vol/vol_Home1,Check /vol/vol_Share1,Check /vol/vol_Share2,Check Power Supply State,Check Power Supply State,Check Raid State,Check Temperature,Check Volumes,Ping
contact_groups CIS-ISCG-Tier1
first_notification 5
last_notification 120
notification_interval 30
escalation_period xi_timeperiod_24x7
escalation_options w,c,r,
}

define serviceescalation {
host_name *
hostgroup_name *
service_description *
contacts dcops
first_notification 15
last_notification 120
notification_interval 30
escalation_period xi_timeperiod_24x7
escalation_options w,u,c,r,
}

###############################################################################
#
# Service escalations configuration file
#
# END OF FILE
#
###############################################################################
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: email alert for Service Escalation not working

Post by jolson »

first_notification 5
Can you verify that at least five notifications have been sent out from one of your defined services? That is when CIS-ISCG-Tier1 should get an escalation notification.
2015-04-24 14_27_56-Nagios XI.png
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: email alert for Service Escalation not working

Post by bosecorp »

Yes, i do see the notifications
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: email alert for Service Escalation not working

Post by lmiltchev »

Let's clarify - you have five "regular" notifications sent out for these services but "escalated" notifications are not being sent afterwords, correct?

Can you show us the "State History" and "Notifications" reports for one of the "problem" services for the appropriate time period?
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 »

I am not utilizing regular notifications.

instead I am only using escalation. and escalation notifications are not being sent out

Also I just noticed that one particular service went down 23 min ago and there is not notification at all
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 »

What do you have defined for a regular notification then? Escalations rely on normal notifications being present, since each escalation takes over once a certain number of notifications have gone out.
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 »

small detail. Upss

so you mean to say that now I have to go and enable notification in each service? or can i do it in the service template
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: email alert for Service Escalation not working

Post by tmcdonald »

You can do it in the template or on a per-object basis, but yes you do need to have notifications enabled before escalations will work.
Former Nagios employee
Locked