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:[EMAIL PROTECTED] > Inviato: lunedì 19 gennaio 2004 9.26 > A: Simone Felici - Alpikom Spa; [email protected] > 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
