[rrd-users] R: AW: R: Export values from RRD, possible?

Simone Felici - Alpikom Spa s.felici at alpikom.it
Mon Jan 19 11:35:42 MET 2004


Yes ;)

rrdtool info test.rrd
[...]
rrd_version = "0001"
step = 300
last_update = 1074507618
ds[eth0_in].type = "COUNTER"
ds[eth0_in].minimal_heartbeat = 600
ds[eth0_in].min = NaN
ds[eth0_in].max = NaN
ds[eth0_in].last_ds = "1844871780"
ds[eth0_in].value = 1.5333594219e+07
ds[eth0_in].unknown_sec = 0
ds[eth0_out].type = "COUNTER"
[...]

Serge already said I've to add an "-" after rrdtool graph:

[quote]
> That's because rrdtool thinks you want it to write to the 
> file "DEF:eth0_in=test.rrd:eth0_in:AVERAGE".
> Therefore eth0_in is unknown to rrdtool when it gets to the 
> PRINT statement.
> 
> Try rrdtool graph - -s -36800 <etc...>
> 
> Serge.

After this modify no errors, ok, but no stdout too, also the command will
execute without problems and without any output, nothing!


[root at test sbin]# rrdtool graph - -s -36800
"DEF:eth0_in=test.rrd:eth0_in:AVERAGE" PRINT:eth0_in:AVERAGE:"%7.2lf %Sb/s"
[root at test sbin]#

:(

Simone




> -----Messaggio originale-----
> Da: rrd-users-bounce at list.ee.ethz.ch 
> [mailto:rrd-users-bounce at list.ee.ethz.ch] Per conto di 
> Thorsten Volkmer-Wolf
> Inviato: lunedì 19 gennaio 2004 11.16
> A: rrd-users at list.ee.ethz.ch
> Oggetto: [rrd-users] AW: R: Export values from RRD, possible?
> 
> 
> >ERROR: unknown variable 'eth0_in'
> 
> Sorry Simone for this maybe stupid hint....did you define 
> such a variable when creating the database using 'rrdtool 
> create .....' ?
> 
> Regards,
> 
> 	Thorsten
> 
> 
> ++
> Dipl.-Ing.
> Thorsten Volkmer-Wolf
> IT-Support & Services
> 
> AEROTEC Engineering GmbH
> Hein-Saß-Weg 38
> 21129 Hamburg / Germany
> 
> fon +49 (0)40/742 198-241
> fax +49 (0)40/742 198-111
> 
> <http://www.aerotec.de>
> 
[...]

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list