Hello
excuse if my terminology is not correct
we need to disable a child host not return critical or unreacheable if the parent host is down.
we have some rodc controlers in africa connected to the ups ..the issue is that the ups is down very often.. so we need to have nagios configured that if the ups where a certain host is down.. then do not check anymore that host.. so it will appear as UP instead of down or unreacheable..
is there a way to do this with parent/relationship or with host dependencies.
thank you
Mario.
host dependencies configurations
Re: host dependencies configurations
you will need host dependency not parent/child
https://assets.nagios.com/downloads/nag ... ncies.html
https://assets.nagios.com/downloads/nag ... ncies.html
Host Dependencies
As you'd probably expect, host dependencies work in a similiar fashion to service dependencies. The difference is that they're for hosts, not services.
Tip Tip: Do not confuse host dependencies with parent/child host relationships. You should be using parent/child host relationships (defined with the parents directive in host definitions) for most cases, rather than host dependencies. A description of how parent/child host relationships work can be found in the documentation on network reachability.
Here are the basics about host dependencies:
A host can be dependent on one or more other host
Host dependencies are not inherited (unless specifically configured to)
Host dependencies can be used to cause host check execution and host notifications to be suppressed under different circumstances (UP, DOWN, and/or UNREACHABLE states)
Host dependencies might only be valid during specific timeperiods
Re: host dependencies configurations
Former Nagios Employee.
me.
me.