email alert for Service Escalation not working
email alert for Service Escalation not working
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
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
Re: email alert for Service Escalation not working
This document explains escalations, for your reference: http://assets.nagios.com/downloads/nagi ... ations.pdf
Would you please show us your escalation definitions?
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
Re: email alert for Service Escalation not working
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
#
###############################################################################
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
#
###############################################################################
Re: email alert for Service Escalation not working
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.first_notification 5
You do not have the required permissions to view the files attached to this post.
Re: email alert for Service Escalation not working
Yes, i do see the notifications
Re: email alert for Service Escalation not working
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?
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!
Re: email alert for Service Escalation not working
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
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.
Re: email alert for Service Escalation not working
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
Re: email alert for Service Escalation not working
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
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
Re: email alert for Service Escalation not working
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