Page 1 of 1

How to temporarily disable service monitoring globally

Posted: Fri Nov 08, 2013 5:20 pm
by jericho_g
Hello -

We are running Nagios XI 2012R1.8 on Centos5.6. I need to disable Nagios monitoring entirely for firewall maintenance, so that we don't receive notifications during this. Is there any easy way to do this?

-Jericho

Re: How to temporarily disable service monitoring globally

Posted: Mon Nov 11, 2013 10:19 am
by tmcdonald
Well, a couple ways you can do this:

- You could just turn off nagios with a "service nagios stop"
- You can edit nagios.cfg to change "execute_host_checls=1" and "execute_service_checks=1" to both equal zero, then restart nagios
- If you just want to disable notifications, you could instead change "enable_notifications=1" similarly
- You could unplug the machine, but this seems a bit extreme =)