Recently I made a change on the RRA settings of my monitoring server's cacti, but reverted them back to what they were. Since this time, none of the graphs can be zoomed in on. Cacti is still collecting data and graphing it (I can see this on the front page when I view the entire device overview from the console), though I cannot zoom into any single graph. Any help (or flames, if I did something stupid. In my defence, I took this project over from another guy who wasn't very good with documenting any of what he did) will be appreciated.
Also, if it helps, I found some really strange (to me, maybe actually normal...) data in one of the debug messages when viewing debug output for a graph:
COMMENT:"From 2007/11/08 00\:04\:32 To 2007/11/08 00\:01\:20\c" \
(it's trying to render backwards in time)
[SOLVED] Cacti graphing problem
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Wed Nov 07, 2007 6:34 am
[SOLVED] Cacti graphing problem
Last edited by frozt01100101 on Tue Dec 18, 2007 5:05 pm, edited 1 time in total.
-
- Posts: 4
- Joined: Wed Nov 07, 2007 6:34 am
RRA settings
Steps Rows Timespan**
Daily (5 Min Average) 1 600 86400
Weekly (30 Min Average) 6 700 604800
Monthly (2 Hour Average) 24 775 2678400
Yearly (1 Day Average) 288 797 33053184
Daily (5 Min Average) 1 600 86400
Weekly (30 Min Average) 6 700 604800
Monthly (2 Hour Average) 24 775 2678400
Yearly (1 Day Average) 288 797 33053184
-
- Posts: 4
- Joined: Wed Nov 07, 2007 6:34 am
Problem solved
After highly unsuccessfully poking around in Cacti internals and upgrading the old installation to see if it helps anything or not (which it didn't) I noticed something whilst once copy-pasting a link (while I was busy making notes trying to find the aggregate values). Here follows two screenshots and also a description of what I did.
What I noticed was that when zooming in to a graph from the main preview pane (shown in pic1.jpg), it actually wrongfully forms the URL pertaining to the 'graph_start' and 'graph_end' values. Notice the custom times I enterred into the main preview pane, and then also that the unix time which is in the link (shown at red arrow) does not in fact correspond to the times as I specified.
How I solved this problem is every time manually forming the URL to have the correct graph_start and graph_end values (these corresponding to the times during which I needed the graph statistics for).
Hopefully this helps someone in the future, and possibly the devs if it's a bug which still persists later somehow.
What I noticed was that when zooming in to a graph from the main preview pane (shown in pic1.jpg), it actually wrongfully forms the URL pertaining to the 'graph_start' and 'graph_end' values. Notice the custom times I enterred into the main preview pane, and then also that the unix time which is in the link (shown at red arrow) does not in fact correspond to the times as I specified.
How I solved this problem is every time manually forming the URL to have the correct graph_start and graph_end values (these corresponding to the times during which I needed the graph statistics for).
Hopefully this helps someone in the future, and possibly the devs if it's a bug which still persists later somehow.
- Attachments
-
- pic1
- pic1.jpg (98.39 KiB) Viewed 1891 times
-
- pic2
- pic2.jpg (60.16 KiB) Viewed 1891 times
Who is online
Users browsing this forum: No registered users and 1 guest