Answer the question
In order to leave comments, you need to log in
After transferring the time in zabbix-php-frontend, the time is shown incorrectly, where to edit?
after the time change (and in Kamchatka, the time remained the same GMT + 12), the data in zabbix-frontend began to lag behind by 2 hours.
Ubuntu 12.04 Precise, zabbix 2.0.13 from repo.zabbix.com. PHP 5.3.10-1ubuntu3.14, tzdata 2014i-0ubuntu0.12.04 updated before 10/26/2014.
when I saw a problem in the frontend in the system, the time was correct:
# hwclock --show; date;date -u
Thu. Oct 30 2014 09:00:57 -0.614706 seconds
Thu. oct. 30 09:00:56 PETT 2014
Wed. oct. 29 21:00:56 UTC 2014
# cat /etc/php5/apache2/php.ini | grep timezone
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Kamchatka
extension=timezonedb.so
pecl install timezonedb
echo "extension=timezonedb.so" > /etc/php5/conf.d/timezonedb.ini
Answer the question
In order to leave comments, you need to log in
Updating the version of the server OS, I decided that it was time to fix the problem.
the problem was in date.timezone in the file in /etc/apache2/conf-enabled/zabbix.conf
which I never looked at.
Update timezone information in mysql
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question