Hosts/Services checks - Disable Procedure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
maxiz1987
Posts: 25
Joined: Fri Jun 26, 2015 4:00 am

Hosts/Services checks - Disable Procedure

Post by maxiz1987 »

Hi All!

I am working on an very important implementation of all the Nagios Suite (Xi+Log Server+Net Anz) in a very important customer.

We are currently working on a test environment and then we're going to deploy all the suite in production's environment - And the customer asked to go on with the following strategy which consist on:

-- Work with all the DEV-TEST-QA server/services but not with the PROD server/services untill we migrate to the Nagios Prod Environment.

The thing is that we have already configured every host/service, and now I am not sure in how to proceed to disable all the hosts/services that belongs to the production environment.

I was thinking on put all of them on Inactive - However, if I'd do that I will have issues with the hostgroups/servicegroups/parents/BPIs relationships.

So which strategy would be better? Maybe do some kind of scheduled downtime which disable all checks?

Is there any way to do that from the database? Because all the prod host/services are identified by a custom variable - So I was thinking to do a kind of query with multiple joins matching the custom variable... But I am not sure, cause I know most of the relationships of the DB's tables - I don't know every relationship.

Well I would really appreciate any suggestions of which would be the best way to go through this.

Thanks in advance,

Regards,
maxiz1987
Posts: 25
Joined: Fri Jun 26, 2015 4:00 am

Re: Hosts/Services checks - Disable Procedure

Post by maxiz1987 »

just to clarify - What I really need is to have an amount of services/host not being checked during the Nagios's testing phase in order to be the most 'transparent' to the customer's network possible.

Regards,
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Hosts/Services checks - Disable Procedure

Post by tgriep »

A quick way to turn off all active checks on the server is to go to the Admin > Monitoring Engine Status menu in the XI GUI and turn off the active host and service checks.
That will turn off all of them.

If you don't want to turn off all of the checks and the server has the Enterprise feature installed, you can go to the Core Config Manager > Bulk Modification tool.
Click on the Change a single configuration option button and select Active Checks Enabled from the pull down menu and change the option to off. Select the hosts and services you want to disable, save and apply the config and that should stop those checks from running as well.
Let us know if either of these would work for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
maxiz1987
Posts: 25
Joined: Fri Jun 26, 2015 4:00 am

Re: Hosts/Services checks - Disable Procedure

Post by maxiz1987 »

This thread could be closed.

Thanks all.
Locked