Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Hey. currently, I am writing a python script about fetching data(1 week) from cacti rrd files and calculate Max and avg (which is like from cacti GUI) and finally exporting them into the csv file. What is my problem now is I face the csv file that i exported from the GUI is not the same as I fetch(rrdtool fetch) behind. What should i do?
The script implementation is almost finished but I found that the calculated result of avg and max from which the data i got from rrdtool fetch is not the same as which appeared in the cacti GUI.
This is a part of how I implemented to calculate average of traffic usage in my script!
Don't worry. You should trust in your script. The CSV export function in Cacti is not using RRDtool fetch, it is using xport which will be limited to a number of samples. So, what you are doing is correct and the same what ReportIt provided all the years. Shame on me that I'm struggling with its new version for 1.x