Re-Enabled Notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kilbym
Posts: 2
Joined: Tue May 26, 2020 9:51 am

Re-Enabled Notifications

Post by kilbym »

Hi,

Is there a way to find a list of hosts/services that have had their notifications disabled?

Regards

Michael
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Re-Enabled Notifications

Post by gsmith »

Hi,

Look at:
/usr/local/nagios/etc/services/localhost.cfg
/usr/local/nagios/etc/hosts/localhost.cfg

and check the value of the notifications_enabled key

Here is an example of /usr/local/nagios/etc/services/localhost.cfg, the green is on and red is off:

define service {
host_name localhost
service_description Current Load
use local-service
check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
active_checks_enabled 1
notification_interval 5
first_notification_delay 0
notification_period 24x7
notification_options w,c,u,r,f,s,
notifications_enabled 1
contacts Greg Smith
register 1
}

define service {
host_name localhost
service_description Current Users
use local-service
check_command check_local_users!5!10!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
notification_interval 5
first_notification_delay 0
notification_period 24x7
notifications_enabled 0
register 1



Thanks
kilbym
Posts: 2
Joined: Tue May 26, 2020 9:51 am

Re: Re-Enabled Notifications

Post by kilbym »

Hi,

Thank You for your reply.

Is there not a way to produce a report from the website?

Regards

Michael
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Re-Enabled Notifications

Post by gsmith »

Hi Michael,

Unfortunately there is no report available to do this.

Thanks
Locked