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! [EMAIL PROTECTED] sbin]# rrdtool graph - -s -36800 "DEF:eth0_in=test.rrd:eth0_in:AVERAGE" PRINT:eth0_in:AVERAGE:"%7.2lf %Sb/s" [EMAIL PROTECTED] sbin]# :( Simone > -----Messaggio originale----- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Per conto di > Thorsten Volkmer-Wolf > Inviato: lunedì 19 gennaio 2004 11.16 > A: [email protected] > 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
