Hi guys, I need help planning some service dependency.
Here’s the situation:
NSClient++ check > SNMP service > SNMP system.UpTime.0 query > Other SNMP queries (many)
Now, with this structure if NSClient++ fail Nagios will not check anything below it, and that’s not ok. The only check it cannot make is the SNMP Service status (because it relies on NSClient++ functionality).
Instead, I want Nagios to continue checking the SNMP queries until:
a) SNMP system.UpTime.0 query fail
b) SNMP service “actively” fail (I mean, goes critical while NSClient++ is OK)
I was thinking: setting the dependency execution to “c” for SNMP Service will leave it in current state if NSClient++ goes critical. Then I have to stop inheritance for SNMP test query dependency, so it will only depend on SNMP Service.
Would this solve my problem?
Any help appreciated.