I'm trying to get the average value over last week week from a rra file.
/var/www/html/cacti/rra/traffic.rrd
What I am doing right now is using the following command to get all the data over the last week then compute the average using other programming languages.
rrdtool fetch /var/www/html/cacti/rra/traffic.rrd AVERAGE -s -7d
I wonder if there are any 'native way' to achieve the same results.