Page 1 of 1

Time issue Nagios XI web interface and CentOS

Posted: Mon Apr 02, 2012 8:44 am
by Lantech
Hello,

I hope someone can help us with the following issue.

We are having a time issue between the OS en Nagios XI. Referring to the picture you will see a ssh session to our server and the latest events in Nagios XI web interface.
As you can see there is a time difference of one hour.

The following link dint fix the problem.
http://assets.nagios.com/downloads/nagi ... m_Time.pdf

regards,

Lantech

Re: Time issue Nagios XI web interface and CentOS

Posted: Mon Apr 02, 2012 9:18 am
by scottwilkerson
specify your timezone in your /etc/php.ini file. Newer releases of PHP require this setting for your server to reflect the correct system time and timezone. To change this setting, edit the /etc/php.ini file with the following line:

Code: Select all

 date.timezone = Etc/GMT-13
Change the timezone to match your location. These zones are listed at the following URL. PHP Timezones After changing the setting, restart your apache server:

Code: Select all

 service httpd restart

Re: Time issue Nagios XI web interface and CentOS

Posted: Tue Apr 03, 2012 7:45 am
by Lantech
It fixed the problem! many thanks!

Re: Time issue Nagios XI web interface and CentOS

Posted: Tue Apr 03, 2012 9:39 am
by scottwilkerson
Glad it is resolved.