mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8115 from mathiasaerts/hotfix/docs-timeperiod
Docs: In some places, Timeperiod is used instead of TimePeriod
This commit is contained in:
commit
7e0b773c16
|
@ -261,7 +261,7 @@ If you want to specify a notification period across midnight,
|
||||||
you can define it the following way:
|
you can define it the following way:
|
||||||
|
|
||||||
```
|
```
|
||||||
object Timeperiod "across-midnight" {
|
object TimePeriod "across-midnight" {
|
||||||
display_name = "Nightly Notification"
|
display_name = "Nightly Notification"
|
||||||
ranges = {
|
ranges = {
|
||||||
"saturday" = "22:00-24:00"
|
"saturday" = "22:00-24:00"
|
||||||
|
@ -275,7 +275,7 @@ the first day as start with an overlapping range into
|
||||||
the next day:
|
the next day:
|
||||||
|
|
||||||
```
|
```
|
||||||
object Timeperiod "do-not-disturb" {
|
object TimePeriod "do-not-disturb" {
|
||||||
display_name = "Weekend DND"
|
display_name = "Weekend DND"
|
||||||
ranges = {
|
ranges = {
|
||||||
"saturday" = "22:00-06:00"
|
"saturday" = "22:00-06:00"
|
||||||
|
@ -290,7 +290,7 @@ days, weeks or months. This can be useful when taking components offline
|
||||||
for a distinct period of time.
|
for a distinct period of time.
|
||||||
|
|
||||||
```
|
```
|
||||||
object Timeperiod "standby" {
|
object TimePeriod "standby" {
|
||||||
display_name = "Standby"
|
display_name = "Standby"
|
||||||
ranges = {
|
ranges = {
|
||||||
"2016-09-30 - 2016-10-30" = "00:00-24:00"
|
"2016-09-30 - 2016-10-30" = "00:00-24:00"
|
||||||
|
|
|
@ -62,7 +62,7 @@ By default this template is automatically imported into all [EventCommand](09-ob
|
||||||
|
|
||||||
### legacy-timeperiod <a id="itl-legacy-timeperiod"></a>
|
### legacy-timeperiod <a id="itl-legacy-timeperiod"></a>
|
||||||
|
|
||||||
Timeperiod template for [Timeperiod objects](09-object-types.md#objecttype-timeperiod).
|
Timeperiod template for [TimePeriod objects](09-object-types.md#objecttype-timeperiod).
|
||||||
|
|
||||||
The `legacy-timeperiod` timeperiod does not support any vars.
|
The `legacy-timeperiod` timeperiod does not support any vars.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue