How to read RRD file to get usage data?

I have mrtg setup with rrdtool. Now I plan to receive incoming outgoing usage data from these RRD files and not find the right way to do this. Can someone show us how to get usage data from rrd files. Then I can support db to save this usage data and calculate cost etc.

Thanks!

+4
rrdtool rrd
source share
1 answer

you can use rrdtool graph ... PRINT:xxx or rather rrdtool xport ... to get data from the rrd file. If you want to get to the actual data, use rrdtool fetch .

You can find tons of additional information at http://rrdtool.org

+7
source share

All Articles