mirror of https://github.com/Icinga/icinga2.git
Merge pull request #5576 from mcktr/mcktr/fix/5575-fix-doc-downtime-example
Fixed downtime example in documentation fixes #5576
This commit is contained in:
commit
fb88ffaf1c
|
@ -385,7 +385,9 @@ Example:
|
||||||
object Downtime "localhost!my-downtime" {
|
object Downtime "localhost!my-downtime" {
|
||||||
host_name = "localhost"
|
host_name = "localhost"
|
||||||
author = "icingaadmin"
|
author = "icingaadmin"
|
||||||
text = "This is a comment."
|
comment = "This is a downtime."
|
||||||
|
start_time = 1505312869
|
||||||
|
end_time = 1505312924
|
||||||
}
|
}
|
||||||
|
|
||||||
Configuration Attributes:
|
Configuration Attributes:
|
||||||
|
@ -398,7 +400,7 @@ Configuration Attributes:
|
||||||
comment | **Required.** The comment text.
|
comment | **Required.** The comment text.
|
||||||
start_time | **Required.** The start time as unix timestamp.
|
start_time | **Required.** The start time as unix timestamp.
|
||||||
end_time | **Required.** The end time as unix timestamp.
|
end_time | **Required.** The end time as unix timestamp.
|
||||||
duration | **Required.** The duration as number.
|
duration | **Optional.** The duration as number.
|
||||||
entry_time | **Optional.** The unix timestamp when this downtime was added.
|
entry_time | **Optional.** The unix timestamp when this downtime was added.
|
||||||
fixed | **Optional.** Whether the downtime is fixed (true) or flexible (false). Defaults to flexible. Details in the [advanced topics chapter](08-advanced-topics.md#fixed-flexible-downtimes).
|
fixed | **Optional.** Whether the downtime is fixed (true) or flexible (false). Defaults to flexible. Details in the [advanced topics chapter](08-advanced-topics.md#fixed-flexible-downtimes).
|
||||||
triggers | **Optional.** List of downtimes which should be triggered by this downtime.
|
triggers | **Optional.** List of downtimes which should be triggered by this downtime.
|
||||||
|
|
Loading…
Reference in New Issue