Hello. When I open any graph in Cacti, I am shown the same graph three times along with the 1 Day Average graph. My understanding is that the four graphs should all show different averages: 5 minute, 30 minute, 2 hour and 1 day so I'm not sure what's up with this. Not sure I'm explaining it correctly, so I have attached a screenshot.
Any assistance would be appreciated.
Thanks.
Same Graph 3 Times
Moderators: Developers, Moderators
- Diggit2001
- Cacti User
- Posts: 195
- Joined: Tue May 03, 2005 4:29 pm
- Location: MD, US
Same Graph 3 Times
- Attachments
-
- cacti_graph.png (460.89 KiB) Viewed 375 times
Re: Same Graph 3 Times
You don't specify your Cacti version, so I assume its old.
Apply the fix specified in
https://github.com/Cacti/cacti/issues/3798
or
https://github.com/Cacti/cacti/issues/3797
in graph_image.php and graph_json.php change the 1600000000 to 2600000000
Apply the fix specified in
https://github.com/Cacti/cacti/issues/3798
or
https://github.com/Cacti/cacti/issues/3797
in graph_image.php and graph_json.php change the 1600000000 to 2600000000
Code: Select all
/* override: graph start time (unix time) */
if (!isempty_request_var('graph_start') && get_request_var('graph_start') < 2600000000) {
$graph_data_array['graph_start'] = get_request_var('graph_start');
}
/* override: graph end time (unix time) */
if (!isempty_request_var('graph_end') && get_request_var('graph_end') < 2600000000) {
$graph_data_array['graph_end'] = get_request_var('graph_end');
}
- Diggit2001
- Cacti User
- Posts: 195
- Joined: Tue May 03, 2005 4:29 pm
- Location: MD, US
Re: Same Graph 3 Times
Dangit. Yeah, I'm running 1.2.8. Guess I should have just upgraded first. I'll do that. Thanks.
Who is online
Users browsing this forum: accesnandi and 6 guests