Unexpected Notification Behavior
Re: Unexpected Notification Behavior
Files attached for the first section. I couldn't find the disk icon for the contacts under alerting.
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Unexpected Notification Behavior
Along the top menu click Configure
Click Core Configuration Manager
In the left pane under Alerting click Contacts
Here is a list of contacts.
In the Actions column there are five icons.
Click the third icon that looks like a disk
Now you have the text definitions.
Paste the two contact definitions here that match the user accounts you provided screenshots of.
Click Core Configuration Manager
In the left pane under Alerting click Contacts
Here is a list of contacts.
In the Actions column there are five icons.
Click the third icon that looks like a disk
Now you have the text definitions.
Paste the two contact definitions here that match the user accounts you provided screenshots of.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unexpected Notification Behavior
That's the problem. I only have 4 icons. I have everything else but the the disk icon.
You do not have the required permissions to view the files attached to this post.
Re: Unexpected Notification Behavior
What XI version are you on? You seem to be running a *very* old system judging by the look of your CCM. Are you using the Legacy CCM option, or is that the default?
Former Nagios employee
Re: Unexpected Notification Behavior
I think we're on Nagios XI 2011R1.6
How can I tell whether we're using legacy CCM option or a default one?
Thanks.
How can I tell whether we're using legacy CCM option or a default one?
Thanks.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Unexpected Notification Behavior
Based on your version I suspect it's the legacy.jamesc23 wrote:How can I tell whether we're using legacy CCM option or a default one?
Have a look in the file /usr/local/nagios/etc/contacts.cfg and you'll find the two contacts I need you to paste here.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unexpected Notification Behavior
define contact {
contact_name n_jchaiwon
alias James Chaiwon
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period n_jchaiwon_notification_times
service_notification_period n_jchaiwon_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
email [email protected]
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
define contact {
contact_name svcn_sms_l3
alias Service Account
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period svcn_sms_l3_notification_times
service_notification_period svcn_sms_l3_notification_times
host_notification_options d,r
service_notification_options c,r
email [email protected]
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
contact_name n_jchaiwon
alias James Chaiwon
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period n_jchaiwon_notification_times
service_notification_period n_jchaiwon_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
email [email protected]
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
define contact {
contact_name svcn_sms_l3
alias Service Account
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period svcn_sms_l3_notification_times
service_notification_period svcn_sms_l3_notification_times
host_notification_options d,r
service_notification_options c,r
email [email protected]
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
Re: Unexpected Notification Behavior
Can you also post the following?
1. The contact definition of "n_testuser" contact.
2. /usr/local/nagios/etc/contacttemplates.cfg
3. /usr/local/nagios/etc/commands.cfg
1. The contact definition of "n_testuser" contact.
2. /usr/local/nagios/etc/contacttemplates.cfg
3. /usr/local/nagios/etc/commands.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unexpected Notification Behavior
1.
define contact {
contact_name n_testUser
alias TestUser Account
host_notification_period n_testUser_notification_times
service_notification_period n_testUser_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
email [email protected]
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
2.
###############################################################################
#
# Contacttemplate configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2015-09-09 11:24:31
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define contact {
name generic-contact
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
register 0
}
define contact {
name xi_contact_generic
contactgroups xi_contactgroup_all
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
register 0
}
###############################################################################
#
# Contacttemplate configuration file
#
# END OF FILE
#
###############################################################################
3. See attached
define contact {
contact_name n_testUser
alias TestUser Account
host_notification_period n_testUser_notification_times
service_notification_period n_testUser_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
email [email protected]
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
2.
###############################################################################
#
# Contacttemplate configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2015-09-09 11:24:31
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define contact {
name generic-contact
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
register 0
}
define contact {
name xi_contact_generic
contactgroups xi_contactgroup_all
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
register 0
}
###############################################################################
#
# Contacttemplate configuration file
#
# END OF FILE
#
###############################################################################
3. See attached
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Unexpected Notification Behavior
I need to check one more thing. Can you please provide the host object. It will be in /usr/local/nagios/etc/hosts/ and it will be named your_host_name.cfg
I think I know what is going on but I need to see your config to confirm it.
I think I know what is going on but I need to see your config to confirm it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.