I know there is the ability to 'globally' disable notifications within Nagios / Nagios XI, but is there a way to 'globally' disable ALL 'active' checks?
We are in the process of evaluating 'Nagios XI', and importing from our current Nagios 'core' product we have up and running in our Production environment. We have several hundred hosts, and a 1000+ service checks. While evaluating, we'd like to disable/enable ALL 'active' checks, the same way 'notifications' are disabled/enabled. Is there a command to accomplish this?
global disable/enable of 'active' checks
Re: global disable/enable of 'active' checks
I remember this was available in Nagios Core. Parts of that interface still remain as well as the command API.
http://old.nagios.org/developerinfo/ext ... mand_id=68
http://old.nagios.org/developerinfo/ext ... mand_id=68
Re: global disable/enable of 'active' checks
Go to Admin -> Monitoring Engine Status. You'll see a dashlet called Monitoring Engine Process. Click the "X" on the Active Service Checks and Active Host Checks items to disable all active checks in Nagios XI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President
Re: global disable/enable of 'active' checks
Is there a way to start 'Nagios XI' in a 'active' checks disabled status? During evaluation/testing I'd rather be able to bounce/start the environment in a 'disabled' status and enable on a 'need be' basis. This way I can correct/configure issues before-hand.
Also - I'd created a script that I can run manually or through CRON that puts ALL 'hostgroups' (we have 43 hostgroups at the moment) in a scheduled downtime for any 'maintenance window' time-frames we do. I see in 'Nagios XI' just as in Nagios 'core', that scheduling downtime for 'hostgroups' still isn't an option (only an option for 'hosts' or 'services'). Is this something that is being looked into as a standard functionality, or?
Also - I'd created a script that I can run manually or through CRON that puts ALL 'hostgroups' (we have 43 hostgroups at the moment) in a scheduled downtime for any 'maintenance window' time-frames we do. I see in 'Nagios XI' just as in Nagios 'core', that scheduling downtime for 'hostgroups' still isn't an option (only an option for 'hosts' or 'services'). Is this something that is being looked into as a standard functionality, or?
Re: global disable/enable of 'active' checks
Management of group based down times is not planned. However it is a simple script(I do myne in awk) that would grab the group membership from the objects.cache file and spit commands at the external command socket. This would add several downtimes effectivly creating a downtime for a group.
You could add sending the "stop" command to the init script, it should loop/sleep a bit waiting for the socket to appere. This can also be specified in the config file... however NagisQL(CCM) manages the config file and I'm not sure it will support this option.
You could add sending the "stop" command to the init script, it should loop/sleep a bit waiting for the socket to appere. This can also be specified in the config file... however NagisQL(CCM) manages the config file and I'm not sure it will support this option.