In testing Cacti, I have had issues with setting time zones in PHP so that the graphs have the current and correct time and date. THe fix seemed to be editing the php.ini file and things appear to work.
That said, why does the graphing take six hours to appear?
If the time zone and time on the server is correct, should not the graphs begin to display data after the first 5 minutes?
The logs appear to be collecting data and the rrd files are being updated, just the graphs appear delayed.
Dan
Graphing appears delayed?
Moderators: Developers, Moderators
Re: Graphing appears delayed?
Because data had already entered the graph before you changed the time (I'm guessing it was adjusted to six hours in the past). RRDTool is not going to insert data 'in the past', and you have to wait for it to catch up.
Or you delete the graph and let it start again.
Or you delete the graph and let it start again.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Graphing appears delayed?
Well, that's what I though so I deleted the graphs and it still took 6 hours for the graphing to begin to show up. A good example of the issue I have is in this graph. The date and time period is correct, but the tunnel interface actually dropped at 23:20 not 5:20. That's six hours off.
- Attachments
-
- graph_image.png (19.26 KiB) Viewed 961 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Graphing appears delayed?
Make sure the date.timezone in the php.ini is set correctly and restart apache. On most distributions there are 2 files.
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?
Re: Graphing appears delayed?
I check all settings and they are correct. I found the problem was I am running OpenSUSE 12.1 and had the time settings set wrong. In the Time and Date settings the clock was set to "Hardware Clock Set to UTC". As soon as I uncheck it and resynced to the time server the graphs updated instantly. Thanks all.
Who is online
Users browsing this forum: No registered users and 0 guests