Ad Widget

Collapse

Zabbix Dashboard Time Shifted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bberger
    Junior Member
    • Jun 2010
    • 8

    #1

    Zabbix Dashboard Time Shifted

    Hi,

    The time shown on the web interface on my Zabbix server dashboard at the bottom of the various tables is incorrect (next to Updated: ). It is shifted 4 hours later than the time on my server given by the date or hwclock commands. Is there someplace to adjust this time or can anyone tell me where zabbix gets this time?

    Regards,

    bberger
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    Have you correctly set date.timezone in /etc/php.ini
    to your world location?

    Comment

    • bberger
      Junior Member
      • Jun 2010
      • 8

      #3
      Thanks! That was precisely the problem.
      I edited /etc/php.ini. The variable is:

      date.timezone

      Originally it looked like this:

      date.timezone = UTC

      and I changed it to this:

      date.timezone = America/New_York

      I'm not sure if it will stay correct following the time change this fall but for now it is reading correctly. One more thing... once I made this change in the php.ini on the server I had to reload httpd with:

      /etc/init.d/httpd reload

      I'm sort of curious as to why this would not just use system time. Does this have something to do with proxies? Thanks again!

      Comment

      Working...