Hosts/Services checks - Disable Procedure
Posted: Mon Sep 12, 2016 6:37 pm
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,
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,