From 5f6f5fb19465f18c713f3e3f98a937d93e8b25dd Mon Sep 17 00:00:00 2001 From: noobahoi <20069422+noobahoi@users.noreply.github.com> Date: Tue, 21 Nov 2017 16:22:58 +0100 Subject: [PATCH] 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. --- doc/09-object-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."