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.
This commit is contained in:
parent
890ebbe9c2
commit
5f6f5fb194
|
@ -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