Changing the time

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Changing the time

Post by benningtonr »

I have gotten lots of help here lately.
My latest issue is with the time, and time zone, I am in Norfolk Virginia, i have tried several different things to change the time, I am not sure which one it was, but that is how I blew up my last VM.
So correct guidance, not me guessing would be much appreciated.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Changing the time

Post by scottwilkerson »

For time I would recommend installing NTP

Code: Select all

yum install ntp -y
Then run the following to force the date to current

Code: Select all

ntpdate pool.ntp.org
ntpdate pool.ntp.org
ntpdate pool.ntp.org
For setting machine timezone there is a good post here
http://support.nagios.com/forum/viewtop ... 962#p24962
and you also need to set the timezone in the /etc/php.ini, instructions are here
http://support.nagios.com/wiki/index.ph ... e.22_Error
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Changing the time

Post by benningtonr »

thank you for the info, time is matched now.
Locked