Last change of configuration file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last change of configuration file

Post by mguthrie »

Ok, I think you might have a timezone issue in PHP. I think PHP defaults to either US-Chicago or Los Angeles time if it doesn't have a timezone defined. (This isn't necessary in some releases of PHP, mainly newer versions).

You'll probably have to define your timezone in the /etc/php.ini file.

Add something like:

Code: Select all

date.timezone = Etc/GMT-13
to your /etc/php.ini file
Timezone codes listed at:
http://nz.php.net/manual/en/timezones.php

Once you've set this to your timezone, do:

Code: Select all

service httpd restart
aels
Posts: 19
Joined: Tue Jul 27, 2010 6:07 pm

Re: Last change of configuration file

Post by aels »

Hi,
Thank you, I have made the change and will do some testing.
So far it looks much better.
Regards
Anton
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last change of configuration file

Post by mguthrie »

If that seems to have fixed the issue, let us know so we can update our documentation and scripts. Thanks!
aels
Posts: 19
Joined: Tue Jul 27, 2010 6:07 pm

Re: Last change of configuration file

Post by aels »

Hi,
Yes that seem to be the fix.
It is now much better.
I am seeing something different with the performance graphs, but will open a new thread for that.
Thank you for your help, it is appreciated!
Cheers
Anton
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Last change of configuration file

Post by rdedon »

Glad to hear this worked, thanks Anton!
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com