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

Thorsten Volkmer-Wolf Thorsten.Volkmer-Wolf at aerotec.de
Mon Jan 19 11:16:02 MET 2004


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


-----Ursprüngliche Nachricht-----
Von: Simone Felici - Alpikom Spa [mailto:s.felici at alpikom.it]
Gesendet: Montag, 19. Januar 2004 11:06
An: 'Serge Maandag'; rrd-users at list.ee.ethz.ch
Betreff: [rrd-users] R: Export values from RRD, possible?


Hello Serge!

Thank's for your answer, but it doesn't works, what's wrong?

Simply Example:

rrdtool graph -s -36800 "DEF:eth0_in=test.rrd:eth0_in:AVERAGE
DEF:eth0_out=test.rrd:eth0_out:AVERAGE" PRINT:eth0_in:AVERAGE:"%7.2lf %Sb/s"


Output:

ERROR: unknown variable 'eth0_in'

But I've defined it right

Thank's

Simon





> -----Messaggio originale-----
> Da: Serge Maandag [mailto:serge.maandag at staff.zeelandnet.nl]
> Inviato: lunedì 19 gennaio 2004 9.26
> A: Simone Felici - Alpikom Spa; rrd-users at list.ee.ethz.ch
> Oggetto: [rrd-users] Export values from RRD, possible?
> 
> 
> > When I create a graph and I use this line
> > (GPRINT:eth0_in_bits:AVERAGE:"%7.2lf %Sb/s") I should obtain an 
> > average value of an interface (in this case) of a specified 
> > time-period. I need this value to use into a script, not 
> into a graph.
> > There is the possibility to extract these values from RRD Files?
> 
> Yes. Use PRINT i.s.o. GPRINT. Leave out all the line and area
> commands. You can also fetch from the rrd database and 
> calculate the average using a script.
> 
> Serge.
> 
> -------------
> Op de inhoud van dit e-mailbericht en de daaraan gehechte
> bijlagen is de inhoud van de volgende disclaimer van 
> toepassing: http://www.zeelandnet.nl/disclaimer.php
> 

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

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