Page 1 of 1

Active Checks Disabled Notifications Report

Posted: Tue Jan 12, 2016 2:17 pm
by brdr
Hi Nagios Team,

We have a site that has about 6k services checks. Users are notified via email distribution list. Inside the email the users use the Rapid Reponse Link. Two questions:

1) is there way to remove the option for user to disable notifications from within Rapid Response link?
2) is there a report available in Nagios that reports on active host/service checks that have its notifications disabled?

Presently, when a nofication is disabled via the Rapid Response link by a user in the distribution list the notifcations will be turned off, but nobody in the DLIST will know it has been disabled by that user.

As always, thanks.

Re: Active Checks Disabled Notifications Report

Posted: Wed Jan 13, 2016 1:07 pm
by lmiltchev
1) is there way to remove the option for user to disable notifications from within Rapid Response link?
Even if you removed the "Disable Notifications" drop-down menu, the user could log in, and disable notifications of the host/service, provided he/she is authorized to do so. Are you talking about removing the menu item only? Can you clarify?
2) is there a report available in Nagios that reports on active host/service checks that have its notifications disabled?
There is no such a report at this time but this is something that could be added. You are welcome to post a feature request on our public tracker here:

http://tracker.nagios.com/

or I can post an internal feature request for you (if you want me to). Thanks!

Re: Active Checks Disabled Notifications Report

Posted: Wed Jan 13, 2016 1:23 pm
by brdr
1) yes, only with the Drop Down menu via the Rapid Response feature. If you can show me where to remove this item (disable notifications) that would be great. I agree they can log in and disable. However, there are many users who get the email notifications with rapid response link but never log into Nagios.

2) Can you please add this feature request for me.

Thanks!

Re: Active Checks Disabled Notifications Report

Posted: Wed Jan 13, 2016 6:18 pm
by tgriep
For number 1.
Login as root on the XI server and change to this folder

Code: Select all

cd /usr/local/nagiosxi/html/
Make a backup of the rr.php file by running the following

Code: Select all

cp rr.php rr.php.back
Then edit the rr.php file and change lines 509 and 510 from

Code: Select all

                                <option
                                    value="disablenotifications"><?php echo _("Disable Notifications"); ?></option>
to

Code: Select all

//                                <option
//                                    value="disablenotifications"><?php echo _("Disable Notifications"); ?></option>
That will comment out the Disable Notifications pull down menu for you.

Re: Active Checks Disabled Notifications Report

Posted: Thu Jan 14, 2016 8:35 am
by brdr
Nice!!

Thank you, please close. :D