Closed hadeshimself closed 7 years ago
I agree with you hope Cacti team would address this deficiency Here is my example, I have 1min RRA setup for 2 month pretension in RRDs. Look what kind of mess it introduces when, the graph is called from THOLD: It shows 2 month worth of graph data without any drill in ability instead of perhaps last 1hr or 2hr.
I actually de-contented that during the design of Data Source Profiles thinking that it was not too important. After doing so, I realized that it was important for the MRTG view and could be useful in other areas as well.
Resolved, please review the commit change very carefully.
Cigamit, I was able to test and validate the fix for customized time span! Thank you so much, based on testing I have conducted so far, I do not see any issues with fix you have introduced customized time span works as expected.
Thank you once again for dedicated work.
Good to know. I also changed the form so that you can update the timespan when the profile is read only as updating the timespan does not alter the RRDfiles.
I have validated "the new edit timespan" commit. Yes I can click on it now and see what is currently defined. However when I change timespan lets say from 2hr to 4hr and click save, I get Error msg below. Please note, I didn't make or attempt to make any changes to "ROWS" field which is locked.
Thanks for testing. Fixed now.
Tested hot fix. Confirmed save now works! Thanks.
Currently the graph timespan in graph.php for each RRA name is calculated according to the RRA properties (steps, rows, etc). Sometimes this is not a good reference, specially for high rate collection profiles or profiles with larger precision and faster polling rates (30 seconds, etc). It would be nice to have a configurable timespan parameter for each of those RRAs to allow a more customized presentation.