Set the date. The graph for Shanghai looks ok but is showing 2 hours postdatedslansing wrote:Do you actually have the PHP time set on those two servers?:
If not please set it.Code: Select all
cat /etc/php.ini | grep 'date.time'
The graph for Hong Kong still shows zero and is 6 hours behind time.
Fusion
[nagios@nagiosprodxi1 ~]$ date
Mon Jun 2 07:57:50 MYT 2014
[nagios@nagiosprodxi1 ~]$ cat /etc/php.ini | grep 'date.time'
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = Asia/Kuala_Lumpur
[nagios@nagiosprodxi1 ~]$
Shanghai
Mon Jun 2 07:55:36 CST 2014
[nagios@CNPUDAS011 ~]$
[nagios@CNPUDAS011 ~]$ cat /etc/php.ini | grep 'date.time'
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = Asia/Shanghai
Hong Kong
[root@HKICBS011 ~]# date
Mon Jun 2 07:51:57 HKT 2014
[root@HKICBS011 ~]# cat /etc/php.ini | grep 'date.time'
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = Asia/Hong_Kong
[root@HKICBS011 ~]#