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.
host/service dependencies.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: host/service dependencies.
There's a decent discussion of this on http://monitoringtt.blogspot.com/2011/0 ... -host.html
Re: host/service dependencies.
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.
Re: host/service dependencies.
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.
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.
Re: host/service dependencies.
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.
Let us know if you have any further questions!