Page 1 of 1

How to get average of month from specific rrd file

Posted: Wed Nov 11, 2020 2:32 pm
by capgemtools
Hi Support,

How can we get AVERAGE of Month from bandwidth RRD files. While looking on internet found rrdtool graph command but not sure how to use it in this case. Can you please help.

For Eg.
from rrdtool fetch command we are getting list of values in 30 min average. We need a single line output for the day and month.

Please guide me to achieve this.

Re: How to get average of month from specific rrd file

Posted: Thu Nov 12, 2020 3:09 pm
by cdienger
You've probably run a command like this:

Code: Select all

rrdtool fetch filename.rrd AVERAGE --start 1605039240  --end 1605040240
which will give yo the values for the start and stop ranges specified. I believe this is the extent of what the rrdtool can do to provide you the information you're looking for so you'll need to take whatever steps that work in your environment to manipulate the data into a format you're looking for.