Page 1 of 1

One Check to Rule them all!

Posted: Wed Apr 27, 2011 2:43 pm
by QS1
I need to setup a simple self ping check for my Nagios server.
If for any reason that check goes Critical, them every check that I have in Nagios should stop.
We had problems with our VM nic being disabled and Nagios sent out alerts for all host because it could not "reach" it.
Do you have any suggestions on a simple way to do this for the 2000 checks we already have in the system?

I appreciate any suggestions or comments.

Re: One Check to Rule them all!

Posted: Wed Apr 27, 2011 2:55 pm
by tonyyarusso
If you create a host with the Nagios server's external IP address, and then set up parent/child relationships (in the CCM or wizards) with that as the parent of everything, it should do as you expect.

Re: One Check to Rule them all!

Posted: Thu Apr 28, 2011 7:36 am
by QS1
tonyyarusso wrote:If you create a host with the Nagios server's external IP address, and then set up parent/child relationships (in the CCM or wizards) with that as the parent of everything, it should do as you expect.
Ok, so I would have to go back and edit all of them?

Or is this the Host Dependency Management?

Re: One Check to Rule them all!

Posted: Thu Apr 28, 2011 9:19 am
by tonyyarusso
You would need to edit all of the ones that are currently on the top level of your parent trees, not necessarily everything, depending on what you have defined currently for dependencies.

Re: One Check to Rule them all!

Posted: Fri Apr 29, 2011 2:04 pm
by QS1
tonyyarusso wrote:You would need to edit all of the ones that are currently on the top level of your parent trees, not necessarily everything, depending on what you have defined currently for dependencies.

Thanks, Well I was able to get all the HOST that I have in my system to be children to one check by using the Host Dependencies.

I tested it and it did work for the host. I do have a question about the services for that host.
So the Master Host is down. Then the Dependent hosts are set to not check, and not to send notification.
My question is, will those rules roll down to the services of the Dependent hosts? Will they stop notifying and checking as well?

Re: One Check to Rule them all!

Posted: Fri Apr 29, 2011 3:31 pm
by QS1
well nevermind I tested it, and it looks like it will stop everything. Thanks

Re: One Check to Rule them all!

Posted: Fri Apr 29, 2011 3:39 pm
by rdedon
Thanks for the update :-)