Notifications not being sent to new user

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Notifications not being sent to new user

Post by mkeey »

Setup user and deployed the notification template to the user. Checked config file

define contact {
contact_name FAKE_NAME
alias FAKE_NAME
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period FAKE_NAME_notification_times
service_notification_period FAKE_NAME_notification_times
host_notification_options d
service_notification_options c
email [email protected]
use xi_contact_generic
}

Check the event log and it shows notifications going to other users but not this one.

Need help ASAP. Thanks!
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: Notifications not being sent to new user

Post by mkeey »

Tried deleting config files, writing config files and restarting the core. Still only one notification going out and it's not the one I need.

type time information
Service Notification 3/4/2019 11:03 SERVICE NOTIFICATION: username;#######;Event24x7 Watchdog Event Server;CRITICAL;xi_service_notification_handler;Event24x7Wes: Stopped
Service Critical 3/4/2019 11:03 SERVICE ALERT: #######;Event24x7 Watchdog Event Server;CRITICAL;HARD;5;Event24x7Wes: Stopped
Service Critical 3/4/2019 11:03 SERVICE ALERT: #######;Event24x7 Watchdog Event Server;CRITICAL;SOFT;4;Event24x7Wes: Stopped
Service Critical 3/4/2019 11:02 SERVICE ALERT: #######;Event24x7 Watchdog Event Server;CRITICAL;SOFT;3;Event24x7Wes: Stopped
Service Critical 3/4/2019 11:02 SERVICE ALERT: #######;Event24x7 Watchdog Event Server;CRITICAL;SOFT;2;Event24x7Wes: Stopped
Service Critical 3/4/2019 11:02 SERVICE ALERT: #######;Event24x7 Watchdog Event Server;CRITICAL;SOFT;1;Event24x7Wes: Stopped

Should see a second one for FAKE_NAME
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notifications not being sent to new user

Post by scottwilkerson »

Has the FAKE_NAME contact been added to the "Event24x7 Watchdog Event Server" service?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: Notifications not being sent to new user

Post by mkeey »

I'm assuming you mean under the Managed Contacts screen on the Alert Settings tab... No.

Here's the deal, this user FAKE_NAME needs to get all Critical Alerts and all Host Down notifications. FAKE_NAME is our incident reporting system. So, anytime anything goes Critical we want to generate an automated incident.

That means that I cannot go into some 6000 services and some 500 hosts to add this FAKE_NAME to the Managed Contacts screen.


Hope this makes sense!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notifications not being sent to new user

Post by scottwilkerson »

It needs to be added to all hosts/services you want to receive notifications for.

You can add it to them in bulk from CCM -> Tools -> Bulk Modifications Tool
Click Add Contact

them you can select the contact and all hosts and service you want to add it to.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: Notifications not being sent to new user

Post by mkeey »

Thank you for that tip. I just looked in there are saw that Mod Tool. I'll give it a go on our test system first.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notifications not being sent to new user

Post by scottwilkerson »

mkeey wrote:Thank you for that tip. I just looked in there are saw that Mod Tool. I'll give it a go on our test system first.
Sounds good
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: Notifications not being sent to new user

Post by mkeey »

Bulk Mod tool worked great. Updates were made and notifications are being sent to all users. Thanks for the help and please close this ticket.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notifications not being sent to new user

Post by scottwilkerson »

mkeey wrote:Bulk Mod tool worked great. Updates were made and notifications are being sent to all users. Thanks for the help and please close this ticket.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked