Hi guys,
I have tried to search through everything regarding cacti showing the wrong time.
Basically I live in Perth (australia) so the clock is set correctly to UTC +8 (WST). System time is correct, however the Graphs and the preset to view the time area are all behind exactly 8 hours.
I know that this is a problem somewhere on the system however i cannot find anywhere cacti gets its time from.
I have setup another VMmachine, imported over the mySQL database and rrd files and the time is fine. It also has clock setup to UTC+8.
Both machines running on the same VMHOST, Ubuntu 7.10, cacti 0.8.7b installed using apt-get.
Anyone got any ideas?
Cacti Showing wrong time
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I seem to have seen this before. Can remember what it was though. Possibly PHP time. This is where we get that information relative to the date. So, when you turn logging to max, PHP complains that using the "data()" function is not sufficient without using the time zone setting.
I think you are having that issue. If you Google to it, you might find the work around either in your PHP.INI file or some setting.
However, here is a good post from PHP.NET
http://us3.php.net/manual/en/function.date.php
TheWitness
I think you are having that issue. If you Google to it, you might find the work around either in your PHP.INI file or some setting.
However, here is a good post from PHP.NET
http://us3.php.net/manual/en/function.date.php
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 7
- Joined: Tue Dec 18, 2007 10:57 am
Ok
here is the progress.
i have been able to update the PHP config so that it has the correct timezone, however now the graphs are still not displaying the correct time.
date.timezone =Australia/Perth
I have gone through the process of re-installing RRDTools and still not showing the correct time on the graphs. Is there an RRDtool config file? I have not been able to find one.
Thanks in advance.
Peter
here is the progress.
i have been able to update the PHP config so that it has the correct timezone, however now the graphs are still not displaying the correct time.
date.timezone =Australia/Perth
I have gone through the process of re-installing RRDTools and still not showing the correct time on the graphs. Is there an RRDtool config file? I have not been able to find one.
Thanks in advance.
Peter
-
- Posts: 3
- Joined: Sun Feb 01, 2009 10:30 pm
Hey Peter,petergigengack wrote:Ok
here is the progress.
i have been able to update the PHP config so that it has the correct timezone, however now the graphs are still not displaying the correct time.
date.timezone =Australia/Perth
I have gone through the process of re-installing RRDTools and still not showing the correct time on the graphs. Is there an RRDtool config file? I have not been able to find one.
Thanks in advance.
Peter
I'm in Brisbane and having a similar problem.
Fresh install of CactiEZ into vmware.
System clock is showing correctly and the right timezone, however when graphs are showing as one hour in the future.
When I do a "view tech" in cacti, it says the timezone is +11 instead of +10....
Did you make any progress with this?
-
- Posts: 3
- Joined: Sun Feb 01, 2009 10:30 pm
Who is online
Users browsing this forum: No registered users and 3 guests