diff --git a/doc/08-advanced-topics.md b/doc/08-advanced-topics.md index 72f72aeea..24327bcde 100644 --- a/doc/08-advanced-topics.md +++ b/doc/08-advanced-topics.md @@ -376,6 +376,19 @@ object TimePeriod "prod-notification" { } ``` +### Time zone handling + +Icinga 2 takes the OS' time zone including DST changes into account. + +Times inside DST changes are interpreted as before the DST changes. +I.e. for the time zone Europe/Berlin: + +* On 2020-10-25 03:00 CEST the time jumps back to 02:00 CET. + For Icinga 02:30 means 02:30 CEST. +* On 2021-02-28 02:00 CET the time jumps forward to 03:00 CEST. + For Icinga (the actually not existing) 02:30 refers to CET + and effectively means 03:30 CEST. + ## External Passive Check Results Hosts or services which do not actively execute a check plugin to receive diff --git a/doc/09-object-types.md b/doc/09-object-types.md index 0a621d22d..72b6d4c2a 100644 --- a/doc/09-object-types.md +++ b/doc/09-object-types.md @@ -667,6 +667,8 @@ name you specified. This means you can define more than one object with the same (short) name as long as one of the `host_name` and `service_name` attributes has a different value. +See also [time zone handling](08-advanced-topics.md#timeperiods-timezones). + ### Service @@ -860,6 +862,8 @@ Runtime Attributes: --------------------------|-----------------------|---------------------------------- is\_inside | Boolean | Whether we're currently inside this timeperiod. +See also [time zone handling](08-advanced-topics.md#timeperiods-timezones). + ### User