Page 1 of 1
Notifications
Posted: Tue Apr 28, 2020 12:15 pm
by exp-user1
Hello,
when I have notifications disabled globally, could I have it enabled exceptionally for some services.
Thanks
Re: Notifications
Posted: Tue Apr 28, 2020 4:31 pm
by jbrunkow
How did you disable notifications globally? Did you navigate to Monitoring Engine Status ( as admin ) on the left pane > and then click the X next to Notifications on the Monitoring Engine Process widget. If you have done this, I do not believe there is a way to make exceptions for certain services.
It may be easier to change the default template for notifications, depending on what you are trying to do. Just navigate to Admin > then Notification Management under Users.
Re: Notifications
Posted: Wed Apr 29, 2020 12:27 pm
by exp-user1
Hi,
I tried the default template notification, but that has not been reflected on all users. some users still have the notification enabled.
thanks.
Re: Notifications
Posted: Wed Apr 29, 2020 4:41 pm
by jbrunkow
That could have something to do with how certain templates are set to inherit from one another, or it could be because those users have been altered and are no longer default.
You may want to read the following linked documentation on how templates work in Nagios.
https://assets.nagios.com/downloads/nag ... tance.html
https://support.nagios.com/kb/article.php?id=508
Re: Notifications
Posted: Thu Apr 30, 2020 10:11 am
by exp-user1
I found that notification template only applies on users but not contacts.
all (users + contacts ) use the same xi_contact_genericgeniric .
any help to make deployment of notification affect contacts?
Thanks.
Re: Notifications
Posted: Thu Apr 30, 2020 2:54 pm
by jbrunkow
Yes, I'm glad you pointed that out. It is good to know that you are dealing with a
Contact instead of a
User. A contact must pass certain
Filters, in order to be notified. Please refer to the
Nagios Core document that details the set of conditions that determines whether a notification will be sent to a certain person.
https://assets.nagios.com/downloads/nag ... tions.html
You can change whether a contact gets notified by altering the
service_notifications_enabled value in the object definition for that contact, or
Contact Group if you want that setting to apply to multiple contacts.
https://assets.nagios.com/downloads/nag ... ml#contact
Re: Notifications
Posted: Fri May 01, 2020 12:36 pm
by exp-user1
Hi,
you mean I have to disable notification for each contact, if I don't have contact_group?. and there is no way to disable notification for all contacts in one shot?
Re: Notifications
Posted: Fri May 01, 2020 2:37 pm
by jbrunkow
That is probably the most direct way to go about it.
You may find it to be easier to use the
Bulk Modification Tool, depending on exactly what you are trying to do.
https://support.nagios.com/kb/article/n ... l-733.html