[rrd-users] Re: what is the output structures from rrdtool xport using RRDs

Ashok Nair mail4ashok at gmail.com
Wed Feb 1 11:05:31 MET 2006

On 2/1/06, Morten Bjørnsvik <morten.bjornsvik at experian-scorex.no> wrote:
> Hi
> If you want to export the data and do not have time to design an xml-parser,
> you can use the old way of 'rrdtool info *.rrd' to find the consolidating functions
> and 'rrdtool fetch *.rrd CF' to output it. You get all the DS tied to that CF.
> %rrdtool fetch eth0.rrd MAX
> timestamp    eth0rx            eth0tx
> 1138775820:  8.5033898305e+03  8.3728813559e+03
> 1138775880:  7.2485810873e+03  8.1029360007e+03
> 1138775940:  7.8926420765e+03  8.3899945355e+03
> 1138776000:  8.4928888889e+03  8.4288888889e+03
> 1138776060:  8.3976958569e+03  8.3682297552e+03
> 1138776120:  8.2467731777e+03  8.1029360007e+03
> :
> --
> MortenB

Thanks for poiting out shared-demo.pl.

Again going back to the example I cited,  if you fetch from a rrd for
last 30m and the "chosen" RRA has a resolution of 5 sec, then you get
~360 CDP's.

If you wanted only 10 CDP's in that window( and I hope xport is
consolidating using the CF of RRA ? is that true) then xport with m
option is the only way I could find.

Why not let rrdtool take the burden of  consolidating? That is, if it does

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list