Unexpected Notification Behavior

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jamesc23
Posts: 82
Joined: Thu Jan 15, 2015 11:55 pm

Re: Unexpected Notification Behavior

Post by jamesc23 »

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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unexpected Notification Behavior

Post by Box293 »

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jamesc23
Posts: 82
Joined: Thu Jan 15, 2015 11:55 pm

Re: Unexpected Notification Behavior

Post by jamesc23 »

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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Unexpected Notification Behavior

Post by tmcdonald »

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
jamesc23
Posts: 82
Joined: Thu Jan 15, 2015 11:55 pm

Re: Unexpected Notification Behavior

Post by jamesc23 »

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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unexpected Notification Behavior

Post by Box293 »

jamesc23 wrote:How can I tell whether we're using legacy CCM option or a default one?
Based on your version I suspect it's the legacy.

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.
jamesc23
Posts: 82
Joined: Thu Jan 15, 2015 11:55 pm

Re: Unexpected Notification Behavior

Post by jamesc23 »

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

Re: Unexpected Notification Behavior

Post by lmiltchev »

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
Be sure to check out our Knowledgebase for helpful articles and solutions!
jamesc23
Posts: 82
Joined: Thu Jan 15, 2015 11:55 pm

Re: Unexpected Notification Behavior

Post by jamesc23 »

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
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unexpected Notification Behavior

Post by Box293 »

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked