mirror of https://github.com/Icinga/icinga2.git
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:
parent
3640d7545c
commit
02ecf4d728
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue