Hi,
Is there a way to find a list of hosts/services that have had their notifications disabled?
Regards
Michael
Re-Enabled Notifications
Re: Re-Enabled Notifications
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
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
Re: Re-Enabled Notifications
Hi,
Thank You for your reply.
Is there not a way to produce a report from the website?
Regards
Michael
Thank You for your reply.
Is there not a way to produce a report from the website?
Regards
Michael
Re: Re-Enabled Notifications
Hi Michael,
Unfortunately there is no report available to do this.
Thanks
Unfortunately there is no report available to do this.
Thanks