[ZBX-18246] Recurring maintenance window not using timezone Created: 2020 Aug 13  Updated: 2020 Aug 18  Resolved: 2020 Aug 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Chris Kistner Assignee: Edgars Melveris
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix 4.4.9
GMT+2 timezone (Africa/Johannesburg)


Attachments: PNG File zabbix-maintenance-periods.png     PNG File zabbix-problems-widget.png    
Issue Links:
Duplicate
duplicates ZBX-4437 Recurring maintenance periods are cor... Confirmed

 Description   

When setting up a recurring maintenance window (Daily/Weekly), it seems like UTC timezone gets used, however when choosing "One time only" it correctly uses my GMT+2 timezone.

I am currently experiencing this on 4.4.9 (zabbix/zabbix-web-nginx-mysql:alpine-4.4.9 & zabbix/zabbix-server-mysql:alpine-4.4.9 docker images).
My timezone is set to GMT+2 via environmental variable: PHP_TZ=Africa/Johannesburg
My Docker host is using UTC timezone.

For example I created a recurring maintenance window for daily from 23:00 - 07:14:

However when hovering over the problem item, it can be seen that the maintenance window will suppress it till 09:14 instead, which means that it is working from UTC timezone and not my GMT+2 timezone:

It took me a while to pinpoint this issue, since the "One time only" maintenance periods work correctly in my timezone, and I've been wondering for a while now why my alerts are causing notifications almost 2 hours after my recurring maintenance window ends.



 Comments   
Comment by Glebs Ivanovskis [ 2020 Aug 18 ]

Duplicates ZBX-4437.

Generated at Wed Jul 09 11:02:26 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.