How to temporarily disable service monitoring globally

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

How to temporarily disable service monitoring globally

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to temporarily disable service monitoring globally

Post 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 =)
Former Nagios employee
Locked