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!
Notifications not being sent to new user
Re: Notifications not being sent to new user
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
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
Has the FAKE_NAME contact been added to the "Event24x7 Watchdog Event Server" service?
Re: Notifications not being sent to new user
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!
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
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.
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.
Re: Notifications not being sent to new user
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
Sounds goodmkeey 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.
Re: Notifications not being sent to new user
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
Great!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.
Locking thread