Page 1 of 1
Disabling active checks
Posted: Wed Apr 02, 2014 1:18 pm
by kgopiramesh
Hi Team,
Need a small clarification on active checks in nagios tool.
I want to enable the active checks for only one server(slave server) to monitor another nagios xi server and want to disable the active checks of other hosts configured in this xi servers.
I assure that we can disable the atctive checks by editing the nagios.cfg file but is there any way to achieve the above requirement.
Re: Disabling active checks
Posted: Wed Apr 02, 2014 2:16 pm
by tmcdonald
I'm a little unsure of what you mean. Do you want to disable checking on only one host? You can do that in the CCM and edit the host and services, unchecking the "Active" box.
Re: Disabling active checks
Posted: Wed Apr 02, 2014 11:26 pm
by kgopiramesh
I want to enable the active checks for only one server (i.e master server ) and if the master goes down I want to enable active checks for all the hosts in the slave servers withthe health of event handlers
Re: Disabling active checks
Posted: Thu Apr 03, 2014 1:08 pm
by slansing
Re: Disabling active checks
Posted: Fri Apr 04, 2014 4:30 am
by kgopiramesh
Yes, I want to setup the same mechanism
From the guide you have provided, i can see that we can check the health of the nagios server by cron job, but I want to use the nagios tool itself to monitor another nagios. But as per slave configuration, we are disabling the active checks for all the hosts when the master is up and running fine. when the active checks are disabled I believe we can't monitor another nagios instance using this nagios, Am I correct?
Please let me know if there is any alternatives to do the same.
Re: Disabling active checks
Posted: Fri Apr 04, 2014 10:36 am
by slansing
Well I believe the active checking is disabled when it gets swapped to the second server, you have the option to use passive checks as well to check on the general health of the server. You could use something such as NRDP, or nsca to do this.