diff --git a/doc/4.3-object-types.md b/doc/4.3-object-types.md index 6ba17b4c4..21bf27d9c 100644 --- a/doc/4.3-object-types.md +++ b/doc/4.3-object-types.md @@ -205,10 +205,10 @@ Attributes: Name |Description ----------------|---------------- - parent_host |**Required.** The parent host. - parent_service |**Optional.** The parent service. When not specified the host's check service is used. - child_host |**Required.** The child host. - child_service |**Optional.** The child service. When not specified the host's check service is used. + parent_host_name |**Required.** The parent host. + parent_service_name |**Optional.** The parent service. When not specified the host's check service is used. + child_host_name |**Required.** The child host. + child_service_name |**Optional.** The child service. When not specified the host's check service is used. disable_checks |**Optional.** Whether to disable checks when this dependency fails. Defaults to false. disable_notifications|**Optional.** Whether to disable notifications when this dependency fails. Defaults to true. period |**Optional.** Time period during which this dependency is enabled. diff --git a/doc/6.06-dependencies.md b/doc/6.06-dependencies.md index 3dbaf5579..a74ccb404 100644 --- a/doc/6.06-dependencies.md +++ b/doc/6.06-dependencies.md @@ -1,9 +1,8 @@ ## Dependencies Icinga 2 uses host and service [Dependency](#objecttype-dependency) objects either directly -defined or as inline definition as `dependencies` dictionary. The `parent_host` and `parent_service` -attributes are mandatory, `child_host` and `child_service` attributes are obsolete within -inline definitions in an existing service object or service inline definition. +defined or as inline definition as `dependencies` dictionary. The `parent_host_name` and `parent_service_name` +attributes are mandatory. A service can depend on a host, and vice versa. A service has an implicit dependency (parent) to its host. A host to host dependency acts implicit as host parent relation. @@ -37,7 +36,7 @@ be suppressed. This is achieved by setting the `disable_checks` attribute to `tr } apply Dependency "internet" to Service { - parent_host = "dsl-router" + parent_host_name = "dsl-router" disable_checks = true assign where host.name != "dsl-router"