Hi ,
If i enable service escalation of a particular service. Then, the email notifications are going from service escalation but not going from service contact mapping notification.
May i know the reason ?
I want to enable notifications from service escalations as well as service mapping contact notifications .
email notifications not working
Re: email notifications not working
Could you post your Nagios XI System Profile so we can review it?
To get your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to the forum post.
We will need to know the name of the Service, the Service Escalation so we can check the settings.
To get your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to the forum post.
We will need to know the name of the Service, the Service Escalation so we can check the settings.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: email notifications not working
Service escalation name : AD-ACM ServiceEscalation
=============================
Host Group : AD-ACM-Servers-Group
Contact Group : AD-ACM-ContactGroup -----> 1st contact
Services : *
==================================
Service Config name : FP_GRIFFITH.RMG.COM.AU
=================================
Manage contact : gopinath.XXXX (Gopinath XXXXX) --------> 2nd Contact
Manage Contact group : ActiveDirectoryServers-Group ------------> 3rd Contact
=================================
Instead of 3 notifications , i got only 1 notification from Service escalation contactgroup and Not received from service Manage contact/contactgroup(means 2nd & 3rd contact).
Also added notification report.
=============================
Host Group : AD-ACM-Servers-Group
Contact Group : AD-ACM-ContactGroup -----> 1st contact
Services : *
==================================
Service Config name : FP_GRIFFITH.RMG.COM.AU
=================================
Manage contact : gopinath.XXXX (Gopinath XXXXX) --------> 2nd Contact
Manage Contact group : ActiveDirectoryServers-Group ------------> 3rd Contact
=================================
Instead of 3 notifications , i got only 1 notification from Service escalation contactgroup and Not received from service Manage contact/contactgroup(means 2nd & 3rd contact).
Also added notification report.
You do not have the required permissions to view the files attached to this post.
Re: email notifications not working
It will no longer notify based on the service definition settings since you have the 1st notification escalated (to infinity) it will always use the escalation so you'd need to define another escalation if you want other groups notified.
Generally you would only use escalations if you want them escalated, say after the 3rd notification if it isn't resolved it should be escalated, then it would use the service settings until the 3rd notification which would be escalated to whoever you'd like but if you have the last_notification set to 0 it will continue to be escalated from then on which would require an additional escalation if you want other groups to continue to be notified.
If you want it escalated from the very first notification onwards you will need to define other escalations for the notification numbers you'd like.
Please see here if you haven't read this:
https://assets.nagios.com/downloads/nag ... ations.pdf
Generally you would only use escalations if you want them escalated, say after the 3rd notification if it isn't resolved it should be escalated, then it would use the service settings until the 3rd notification which would be escalated to whoever you'd like but if you have the last_notification set to 0 it will continue to be escalated from then on which would require an additional escalation if you want other groups to continue to be notified.
If you want it escalated from the very first notification onwards you will need to define other escalations for the notification numbers you'd like.
Please see here if you haven't read this:
https://assets.nagios.com/downloads/nag ... ations.pdf
Re: email notifications not working
Thanks for update.
Can you please help me on below
I want set 1st notification from service management settings and 2nd to until resolve the issue notifications from service escalation management setting.
i think escalation setting same as : First / Last Notification --> 2 / 0 values .
same way i have configured with above settings but 2nd notification talking 10min difference from 1st notification to trigger.
Here i want to change 1st notification and 2nd notification time difference between 1 min or 2 min to trigger alert.
Where will i change settings of notification interval for 1st and 2nd ?
Here : 1st notification will come from service management
2nd notification will come from service escalation management.
Can you please help me on below
I want set 1st notification from service management settings and 2nd to until resolve the issue notifications from service escalation management setting.
i think escalation setting same as : First / Last Notification --> 2 / 0 values .
same way i have configured with above settings but 2nd notification talking 10min difference from 1st notification to trigger.
Here i want to change 1st notification and 2nd notification time difference between 1 min or 2 min to trigger alert.
Where will i change settings of notification interval for 1st and 2nd ?
Here : 1st notification will come from service management
2nd notification will come from service escalation management.
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: email notifications not working
@activedirectorybasic-service, It looks like the FP_GRIFFITH.RMG.COM.AU service inherits settings from the template -> activedirectorybasic-service and it doesn't have notification interval defined so its probably using the check interval of 10. If you don't want a 10-minute delay before the escalation please define a smaller notification interval for this service template or for the service itself. Notification interval can be defined under the alert settings tab in Service settings.
define service {
name activedirectorybasic-service
service_description Base Service for AD service checks
display_name Basic Service
max_check_attempts 5
check_interval 10
retry_interval 2
active_checks_enabled 1
passive_checks_enabled 1
check_period 24x7
notification_period 24x7
contacts gopinath.kandaveru
contact_groups ActiveDirectoryServers-Group
register 0
}
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: email notifications not working
i have changed Notification interval to 2min in both configs (activedirectorybasic-service template & FP_GRIFFITH.RMG.COM.AU service management). still taking notification time difference is 10min for 1st and 2nd.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: email notifications not working
@Gonela, Does your escalation start at 1st notification? Can you generate a pdf report with host notifications in XI and upload it in this thread? And another State History report for the same host during the same period(state type->both). I'm going to see where the 10-minute delay came from, whether it matches with some recheck interval, etc.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.