[rrd-users] Re: Help on listing available DEF fields

Pedro Zorzenon Neto pzn at terra.com.br
Thu Apr 14 18:57:49 MEST 2005


On Thu, Apr 14, 2005 at 04:40:09PM +0200, Serge Maandag wrote:
> > Is there any way to list all available fields in RRD
> > database?
> 
> Yes, 
> 
> rrdtool info file.rrd | grep type
> 
> Serge.

Thanks for your answers.

Now another related question, I hope this is the last one :-)

"rddtool info" returned me the data below, can you give me a sample
command to use xport to retrieve the data in this file? I couldn't
imagine how to find a DEF parameter for this info.

Thanks,
  Pedro

filename = "172.20.254.1_1.rrd"
rrd_version = "0001"
step = 300
last_update = 1113490960
ds[ds0].type = "COUNTER"
ds[ds0].minimal_heartbeat = 600
ds[ds0].min = 0.0000000000e+00
ds[ds0].max = 7.6000000000e+04
ds[ds0].last_ds = "1854409829"
ds[ds0].value = 4.4400000000e+04
ds[ds0].unknown_sec = 0
ds[ds1].type = "COUNTER"
ds[ds1].minimal_heartbeat = 600
ds[ds1].min = 0.0000000000e+00
ds[ds1].max = 7.6000000000e+04
<cut>
rra[0].cf = "AVERAGE"
rra[0].rows = 800
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 800
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
<cut> (rra goes up to rra[6])

--
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