Nagios XI - Service Dependencies


Overview

This guide on Best Practices briefly explains service dependencies in Nagios XI.

 

Service Dependencies

When a host goes down, the services still get executed and can result in services in an unknown or critical state. Nagios suppresses any notifications however they still appear as critical in the interface.

Sometimes a host can be up but the monitoring agent can be down. An example of this is an NRPE agent.

By using service dependencies, if the master service goes down, you prevent notifications being sent OR prevent checks from being executed. Either option simply pushes the next check or notification to the next interval.

This is very similar to this KB article "Intervals - Host vs Service", make sure your master service goes down HARD before the dependent services, use different check intervals or retries.

Master service e.g. - Ping or NRPE Version.

 

Disable Service Checks

A new feature of Nagios Core 4.1.0 (included in XI 5 onwards) is a configuration directive called host_down_disable_service_checks.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Article ID: 505
Created On: Tue, May 3, 2016 at 12:10 AM
Last Updated On: Tue, Jan 21, 2020 at 3:24 PM
Authored by: tlea

Online URL: https://support.nagios.com/kb/article/nagios-xi-service-dependencies-505.html