Active Checks Disabled Notifications Report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Active Checks Disabled Notifications Report

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Active Checks Disabled Notifications Report

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: Active Checks Disabled Notifications Report

Post 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!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Active Checks Disabled Notifications Report

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: Active Checks Disabled Notifications Report

Post by brdr »

Nice!!

Thank you, please close. :D
Locked