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
This commit is contained in:
noobahoi 2017-11-21 16:22:58 +01:00 committed by Michael Friedrich
parent 3640d7545c
commit 02ecf4d728
1 changed files with 1 additions and 1 deletions

View File

@ -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."