From: noobahoi <20069422+noobahoi@users.noreply.github.com> Date: Tue, 21 Nov 2017 15:22:58 +0000 (+0100) Subject: Update 09-object-types.md X-Git-Tag: v2.8.1~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02ecf4d7288252c18ff85e08e9f77653421e11cf;p=icinga2 Update 09-object-types.md object Downtime "localhost!my-downtime" should be object Downtime "my-downtime" The host_name configuration attribute adds the localhost name automatically. refs #5790 --- diff --git a/doc/09-object-types.md b/doc/09-object-types.md index 3922f92b8..2976356f0 100644 --- a/doc/09-object-types.md +++ b/doc/09-object-types.md @@ -446,7 +446,7 @@ You can create downtimes with the [schedule-downtime](12-icinga2-api.md#icinga2- Example: ``` -object Downtime "localhost!my-downtime" { +object Downtime "my-downtime" { host_name = "localhost" author = "icingaadmin" comment = "This is a downtime."