[ZBX-13292] The last check time of latest data from the frontend console shows incorrectly Created: 2018 Jan 05  Updated: 2018 Jan 15  Resolved: 2018 Jan 15

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

Type: Problem report Priority: Trivial
Reporter: Billsen Xu Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: frontend
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

The environment inherits from the appliance.


Issue Links:
Duplicate
duplicates ZBX-13310 Incorrect time on both front-end and ... Closed

 Description   

Dear Expert,

I have implemented the Zabbix via appliance a week ago, after the one-stop installation, the timezone had been changed as guided by the online documentation:
1. cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2.Frontend timezone was set to Asia/Shanghai in /etc/apache2/conf-available/zabbix.conf

But after the reboot of installed Zabbix, the last check time of latest data from the frontend console shows incorrectly comparing with the local time, for your kind assitance. Thanks a lot.

Best Regards,
Billsen



 Comments   
Comment by Olegs Vasiljevs (Inactive) [ 2018 Jan 05 ]

Hello Billsen!

Please delete cookies and cache from your browser or try another one. Does the issue reproduce?

Regards,
Oleg

Comment by Billsen Xu [ 2018 Jan 05 ]

Dear Oleg,

I have deleted cookies/cache and tried again, the same of incorrect time. would seek for further your assistance.
FYI. I had ever implemented Zabbix via appliance installation around one month ago, the frontend time can be fixed by the said two steps. But the new implementation via appliance installation a week ago, the fronted time cannot be fixed with the said two steps.

Thanks.

Best Regards,
Billsen

Comment by Olegs Vasiljevs (Inactive) [ 2018 Jan 05 ]

In Apache2 configuration file, there are two php_value date.timezone directives, make sure you have altered both of them. Make sure to restart apache2 daemon afterwards.
I followed these steps together with OS localtime changing and could not reproduce your issue.

Regards,
Oleg

Comment by Billsen Xu [ 2018 Jan 05 ]

Both two fields had been changed before. So it's curious, don't know how to fix it.

<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 Asia/Shanghai
</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 Asia/Shanghai
</IfModule>

Comment by Billsen Xu [ 2018 Jan 08 ]

Dear Expert,

For further trouble-shooting, I find that the linux system time and hardware clock is inconsistent, please see below outputs:
root@zabbix:/# date
Tue Jan 9 00:35:15 CST 2018
root@zabbix:/# hwclock --show
Mon 08 Jan 2018 04:35:21 PM CST .955633 seconds
root@zabbix:/#

For further assistance. Thanks a lot!

Generated at Tue Apr 08 18:33:20 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.