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:
Gunnar Beutner 2017-09-18 08:14:39 +02:00 committed by GitHub
commit fb88ffaf1c
1 changed files with 4 additions and 2 deletions

View File

@ -385,7 +385,9 @@ Example:
object Downtime "localhost!my-downtime" {
host_name = "localhost"
author = "icingaadmin"
text = "This is a comment."
comment = "This is a downtime."
start_time = 1505312869
end_time = 1505312924
}
Configuration Attributes:
@ -398,7 +400,7 @@ Configuration Attributes:
comment | **Required.** The comment text.
start_time | **Required.** The start 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.
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.