Ad Widget

Collapse

Zabbix wong time in interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Coma
    Member
    • Oct 2016
    • 36

    #1

    Zabbix wong time in interface

    I used the appliance install iso from zabbix, to set up my hosts and proxy´s. The time zone is off, if i create a phpinfo file i can see its set at Europa/riga, but the php file in /etc/php5/apache2/php.ini does not have a default timezone set. If i try and set the correct timezone there, the phpinfo file, just shows 2 timezones, and the time is still off.

    I have tried to make a php file with echo date('Y-m-d H:i:s');, to see what time it prints, and its an hour ahead, just like the zabbix interface. I am unable to find any other files where i can change the timezone. Do any one know how to fix this?

    I have also tried to copy it from

    sudo cp /usr/share/zoneinfo/Europe/Copenhagen /etc/localtime

    and then restart the apache server, but it still have the wrong timezone...

    Last edited by Coma; 08-11-2016, 10:53.
  • Coma
    Member
    • Oct 2016
    • 36

    #2
    Frontend timezone is set to Europe/Riga (this can be modified in /etc/apache2/conf-available/zabbix.conf);
    that was the solution.. i missed it....

    Comment

    Working...