One Check to Rule them all!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

One Check to Rule them all!

Post 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.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: One Check to Rule them all!

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: One Check to Rule them all!

Post 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?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: One Check to Rule them all!

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: One Check to Rule them all!

Post 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?
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: One Check to Rule them all!

Post by QS1 »

well nevermind I tested it, and it looks like it will stop everything. Thanks
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: One Check to Rule them all!

Post by rdedon »

Thanks for the update :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked