Hi All,
i’m new nagios user… nagios great though i have one question why Service checks ignore host parent?
for example i have host C is child of B, and host B is child of A
when B is dead… nagios smartly detect host C unreachable but Service checks still being tried on host C even it is unreachable and result in critical result (RED) … what i expected is nagios return Undetermined for all service on host C
thanks
bump,
is this misconfiguration or maybe bug? please help
Hi,
I think you can find what you’re looking for here:
nagios.sourceforge.net/docs/2_0/ … ncies.html
You need to configure dependencies. You can make hosts dependent on other hosts and services dependent on other services. However, I don’t know of any way to make services dependent on a host. I posted a similar question, and have received no responses. I have considered possible work-arounds for this, and have come up with the following options:
- Lets say you check your hosts by pinging them. You could create a service that pings these hosts as well and then make your other services dependent on that service.
- You could try to configure your services as “pseudo-hosts” and make these new pseudo-hosts dependent upon the actual host.
Hope this helps. I would be VERY interested in a more elegant solution, so if anybody has one, please let me know!
Regards
Chris
Dear theobiviater,
I’m afraid that Service Dependencies won’t work as expected. Take a look at:
viewtopic.php?f=59&t=5104&p=16828&hilit=dependencies#p16828
Hope it helps.