Issue sending alerts to contacts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Issue sending alerts to contacts

Post by mbowden »

Nagios XI Issue
We have an interesting issue where when we create a new user and assigning it either through a Contact Group or directly on a host through the Alerts Settings Tab. The user does not get alerted during a failure. We have tried re-writing config files, upgraded to the latest version, recreating the user. Any help would be appreciated.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue sending alerts to contacts

Post by scottwilkerson »

Are you first creating the user through Admin -> Users?

Has the user logged in to the UI and setup their Notification preferences to turn on notifications and selected the types they want to receive?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Issue sending alerts to contacts

Post by mbowden »

That's how I created the user yet when I masquerade as the new user and attempt to change the monitoring I receive the following.

Notification Preferences
Management of notification preferences is not available because your account is not configured to be a monitoring contact. Contact your Nagios XI administrator for details

He definitely has an enabled contact under CCM Alerting Contacts
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue sending alerts to contacts

Post by scottwilkerson »

mbowden wrote:He definitely has an enabled contact under CCM Alerting Contacts
In the CCM -> Contacts does the Contact Name match his username exactly?
If you edit the contact and click the "Alert Settings" Tab
What is listed under
Manage Host Notification Commands &
Manage Service Notification Commands ??

also, had the user logged in besides your masquerading? I ask because they aren't fully setup until they login with a username/password and accept the TOS
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Issue sending alerts to contacts

Post by mbowden »

I just deleted the user and recreated the user, Admin -> Add new User -> Create as Monitoring Contact selected,

if I go to CCM --> Contact --> select contact Alert Settings, nothing is assigned under "Manage Host Notification Commands" or Manage Service....
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue sending alerts to contacts

Post by scottwilkerson »

It it already exists I don't believe it would be modified, you want
xi_host_notification_handler &
xi_service_notification_handler


respectively

Also on Common Setting Tab you should have xi_contact_generic template applied

and then Save and apply configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Issue sending alerts to contacts

Post by mbowden »

Those settings are in place and he still is not receiving alerts,

define contact {
contact_name bbises
alias Brett Bises
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period bbises_notification_times
service_notification_period bbises_notification_times
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
host_notification_commands xi_host_notification_handler,xi_service_notification_handler
service_notification_commands xi_host_notification_handler,xi_service_notification_handler
email [email protected]
use xi_contact_generic
}


define contactgroup {
contactgroup_name Ecosystem Alert Group
alias Ecosystem Alert Group
members bbises }



define host {
host_name s-degwks-a.bowdoin.edu
use basic_linux_server_host_template
alias s-degwks-a.bowdoin.edu
display_name s-degwks-a.bowdoin.edu
address s-degwks-a.bowdoin.edu
hostgroups Basic Linux Hosts
check_command check-host-alive!!!!!!!!
contact_groups Ecosystem Alert Group
icon_image redhat.png
statusmap_image redhat.png
_xiwizard linux-server
register 1
}
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue sending alerts to contacts

Post by scottwilkerson »

This

Code: Select all

host_notification_commands xi_host_notification_handler,xi_service_notification_handler
service_notification_commands xi_host_notification_handler,xi_service_notification_handler
should be

Code: Select all

host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
also, can you confirm that the user has logged in and accepted the TOS?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Issue sending alerts to contacts

Post by mbowden »

I logged in using his username/password and accepted the EULA
Still no go,

define contact {
contact_name bbises
alias Brett Bises
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period bbisesti_notification_times
service_notification_period bbisesti_notification_times
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
email [email protected]
use xi_contact_generic
}
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue sending alerts to contacts

Post by scottwilkerson »

mbowden wrote:I logged in using his username/password and accepted the EULA
Still no go,
After doing this do you still get this
mbowden wrote:Notification Preferences
Management of notification preferences is not available because your account is not configured to be a monitoring contact. Contact your Nagios XI administrator for details

He definitely has an enabled contact under CCM Alerting Contacts
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked