Zoom Function doesn't work in Daily and Hourly mode
Moderators: Developers, Moderators
Zoom Function doesn't work in Daily and Hourly mode
Hello Everybody,
We have a issue when we want to zoom the graphs in Hourly and daily mode.
When we use the Zoom in a Hourly/Daily the graph don't change.
When we use the Zoom in in another Gramph mode(weekly, monthly and yearly) works fine.
Anybody have an idea or something that can help us with this issue?
Cacti version: 0.8.8f
OS: CENTOS 6.10
rrdtool: rrdtool-perl-1.3.8-10.el6.x86_64
Best Regars,
We have a issue when we want to zoom the graphs in Hourly and daily mode.
When we use the Zoom in a Hourly/Daily the graph don't change.
When we use the Zoom in in another Gramph mode(weekly, monthly and yearly) works fine.
Anybody have an idea or something that can help us with this issue?
Cacti version: 0.8.8f
OS: CENTOS 6.10
rrdtool: rrdtool-perl-1.3.8-10.el6.x86_64
Best Regars,
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Zoom Function doesn't work in Daily and Hourly mode
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: Zoom Function doesn't work in Daily and Hourly mode
Thanks for the info.
I have a doubt.
Do you know what is the function of the following script? in graph_image.php and graph_json.php
/* 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');
}
Best Regards
I have a doubt.
Do you know what is the function of the following script? in graph_image.php and graph_json.php
/* 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');
}
Best Regards
Re: Zoom Function doesn't work in Daily and Hourly mode
Hello everyone,
Modify the "graph_image.php", "graph_json.php", and "graph_xport.php" php files according to the suggestions, but it still cannot improve the View Graph Time status.
My version is 1.1.38
I don't know who has encountered the same situation?
Modify the "graph_image.php", "graph_json.php", and "graph_xport.php" php files according to the suggestions, but it still cannot improve the View Graph Time status.
My version is 1.1.38
I don't know who has encountered the same situation?
Re: Zoom Function doesn't work in Daily and Hourly mode
I face same issue, did any find a solution for this?
Thanks
Thanks
Re: Zoom Function doesn't work in Daily and Hourly mode
Hello,
After we change tha parameters in the 5 files, we have to restart any process of cacti?
Regards,
After we change tha parameters in the 5 files, we have to restart any process of cacti?
Regards,
Re: Zoom Function doesn't work in Daily and Hourly mode
Dear All,
I couldn't find the path, my version is 1.1.38 and 0.8.8c.
there is no any path like this "/var/www/cacti/graph_image.php"
Please let me know the path.
Thanks
I couldn't find the path, my version is 1.1.38 and 0.8.8c.
there is no any path like this "/var/www/cacti/graph_image.php"
Please let me know the path.
Thanks
Re: Zoom Function doesn't work in Daily and Hourly mode
its Centos 7, location is there (/var/www/htm) but there is no any files in it.
Cacti version - Version 1.1.38
Thanks
Cacti version - Version 1.1.38
Thanks
Re: Zoom Function doesn't work in Daily and Hourly mode
Thanks, the apply works for me.
For version 0.8.8f you just need to modify the files graph_image.php, global_constants.php, graph_xport.php
https://github.com/Cacti/cacti/commit/b ... dc8b18c1b7
Regards,
For version 0.8.8f you just need to modify the files graph_image.php, global_constants.php, graph_xport.php
https://github.com/Cacti/cacti/commit/b ... dc8b18c1b7
Regards,
Re: Zoom Function doesn't work in Daily and Hourly mode
it worked for me, thank you very much
Who is online
Users browsing this forum: No registered users and 3 guests