host/service dependencies.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ormsbeec
Posts: 35
Joined: Fri May 27, 2011 1:18 pm

host/service dependencies.

Post by ormsbeec »

Hello All, Im using the latest nagiosxi if that matters, but can someone give me some kind of example config of how to make all of a hosts service checks dependent on the host being up?

Currently when a host is down all my checks (active nrpe checks) for that hose show up as unable to connect to host. I don't want to bother checking the services if I can't even reach the host.. Im not sure how to configure that and the documentation leaves a little to be desired imo.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: host/service dependencies.

Post by tonyyarusso »

There's a decent discussion of this on http://monitoringtt.blogspot.com/2011/0 ... -host.html
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
ormsbeec
Posts: 35
Joined: Fri May 27, 2011 1:18 pm

Re: host/service dependencies.

Post by ormsbeec »

So a custom event handler is the way to handle this? Sounds easy enough but it seems like this should be a configurable option from within nagios itself.
ormsbeec
Posts: 35
Joined: Fri May 27, 2011 1:18 pm

Re: host/service dependencies.

Post by ormsbeec »

One more thing, is this a good solution if I have over 2000 hosts with 4-5+ active checks each?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: host/service dependencies.

Post by tonyyarusso »

Yes, I believe this is the approach you would have to take to do this. I'd also like to see it as a built-in option, but that doesn't exist yet to my knowledge. As far as the scalability, that should be fine, since you're using CGI commands, not restarting the service.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
ormsbeec
Posts: 35
Joined: Fri May 27, 2011 1:18 pm

Re: host/service dependencies.

Post by ormsbeec »

Awesome, Thanks for the help Tony!
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: host/service dependencies.

Post by tonyyarusso »

Let us know if you have any further questions!
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked