[rrd-users] R: Export values from RRD, possible?
Simone Felici - Alpikom Spa
s.felici at alpikom.it
Mon Jan 19 11:05:57 MET 2004
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
More information about the rrd-users
mailing list