-
Incident report
-
Resolution: Won't fix
-
Minor
-
None
-
3.4.10
-
None
-
Chrome 66.0.3359.181
Hello
Actions send out notification-mails with wrong timestamp (UTC instead of CEST).
Here is my config:
tzselect Selected time is now: Fri Jun 22 09:09:59 CEST 2018. Universal Time is now: Fri Jun 22 07:09:59 UTC 2018.
/etc/apache2/conf-available/zabbix.conf <IfModule mod_php5.c> php_value max_execution_time 300 php_value memory_limit 128M php_value post_max_size 16M php_value upload_max_filesize 2M php_value max_input_time 300 php_value always_populate_raw_post_data -1 php_value date.timezone Europe/Berlin </IfModule> <IfModule mod_php7.c> php_value max_execution_time 300 php_value memory_limit 128M php_value post_max_size 16M php_value upload_max_filesize 2M php_value max_input_time 300 php_value always_populate_raw_post_data -1 php_value date.timezone Europe/Berlin </IfModule>
/etc/php/7.2/apache2/php.ini [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = "Europe/Berlin"
/etc/php/7.2/cli/php.ini [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = "Europe/Berlin"
The strange thing is that the items are shown correctly in Zabbix GUI (see attached screenshot "Zabbix.jpg"), but mails are sent out with wrong timestamp (see attached screenshot "Email.jpg").
Action - Operation: Problem started at {EVENT.TIME} on {EVENT.DATE} Problem name: {TRIGGER.NAME} Host: {HOST.NAME} Severity: {TRIGGER.SEVERITY} Original problem ID: {EVENT.ID} {TRIGGER.URL}
Somehow {EVENT.TIME} used UTC instead of configured timezone.
Did i miss anything?
thanks for your help