Disable Notifications query or 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

Disable Notifications query or report

Post by brdr »

Hi,

Is there a data base query that can be constructed (or even a report available) that shows hosts and services checks that have been disabled? We have about 2500 hosts/15,000 service checks and many users. Some times users will disable notifications (rather than acknowledge alerts) by accident. It would be nice to run query to find out which checks have been disable...

Thanks
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Disable Notifications query or report

Post by cdienger »

This information can be pulled from the nagiosql db with;

Code: Select all

echo 'select host_name from tbl_host where notifications_enabled=0\G;' | mysql -uroot -pnagiosxi nagiosql
echo 'select service_description from tbl_service where notifications_enabled=0\G;' | mysql -uroot -pnagiosxi nagiosql
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: Disable Notifications query or report

Post by brdr »

sweet. gracias.

please close
Locked