Dependency objects are used to specify dependencies between hosts and services. Dependencies
can be defined as Host-to-Host, Service-to-Service, Service-to-Host, or Host-to-Service
relations.
Best Practice
Rather than creating a Dependency object for a specific host or service it is usually easier
to just create a Dependency template and use the apply keyword to assign the
dependency to a number of hosts or services. Use the to keyword to set the specific target
type for Host or Service.
Check the dependencies chapter for detailed examples.
Dependency objects are used to specify dependencies between hosts and services. Dependencies can be defined as Host-to-Host, Service-to-Service, Service-to-Host, or Host-to-Service relations.
Example: Service-to-Service
Example: Host-to-Host
See
doc/09-object-types.md L153-L258