<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> X-Sender: [EMAIL PROTECTED] User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit
eth0_in=`/usr/bin/snmpwalk -c public -v 1 localhost -r 3 -t 9 -Oqv IF-MIB::ifInOctets.2` eth0_out=`/usr/bin/snmpwalk -c public -v 1 localhost -r 3 -t 9 -Oqv IF-MIB::ifOutOctets.2` echo $eth0_in:$eth0_out /usr/local/rrdtool-1.0.48/bin/rrdtool update test.rrd N:$eth0_in:$eth0_out On Mon, 29 Sep 2008 04:14:51 -0700 (PDT), alucard95 <[EMAIL PROTECTED]> wrote: > Hi all!! > > I try with your synthax, this time the result is : > > test_script.sh: 2: input: not found > test_script.sh: 4: output: not found > > The problem must be with my variables, i'll try to find how resolv it. > Maybe i have to declare them, i don't know... > _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
