Ad Widget

Collapse

Zabbix timezone issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dawidp
    Junior Member
    • May 2020
    • 12

    #1

    Zabbix timezone issues

    Incoming data from agents is one hour "too late" (its around 8:24 and it shows 9:24)

    Click image for larger version

Name:	fetch?id=401024&d=1589178402.png
Views:	159
Size:	51.1 KB
ID:	401141

    The clock on the main page shows correct time though

    Click image for larger version

Name:	fetch?id=401025&d=1589178439.png
Views:	129
Size:	9.6 KB
ID:	401142

    I tried changing the timezone in php.ini file to the correct one but it didn't help, perhaps there is something else that needs to be configured?

    I also tried checking the time/timezone on the agents with date and timedatectl | grep "Time zone" and they do show correct time also.
  • Geoclimate
    Junior Member
    • Aug 2020
    • 2

    #2
    Hi,
    try to use my solution

    1.
    Change time zone

    cp /usr/share/zoneinfo/Europe/Warsaw /etc/localtime


    2.
    find file zabbix.conf

    find / -name zabbix.conf


    3.
    edit file zabbix.conf
    (in my case) /etc/php-fpm.d/zabbix.conf

    vi /etc/php-fpm.d/zabbix.conf

    find inside
    php_value[date.timezone] = Europe/Warsaw

    Comment

    Working...