[mrtg] mrtg log -1 error

Sjaak Nabuurs VSM-Hosting.nl sjaak at vsm-hosting.nl
Fri Mar 8 10:29:28 MET 2002


Hi

i'm new to mrtg list and have a small question

Why mrtg produce a -1 in my eth0.log

like this

1015520046 1484772 8259280 -1
1015520046 2059 0 2059 0
1015519325 19947 0 31091 0
1015519200 1350 0 1350 0
1015518900 1350 0 1350 0
1015518600 1350 0 1350 0
1015518300 1350 0 1350 0
1015518000 1350 0 1350 0
1015517700 1350 0 1350 0
1015517400 1350 0 1350 0
1015517100 1350 0 1350 0
[cut]

I using this shell script to get get ipchains information

#!/bin/bash
V1=`/sbin/ipchains -vnxL input |grep eth0-in |awk '{print $2}'`
V2=`/sbin/ipchains -vnxL output |grep eth0-out |awk '{print $2}'`
echo -e $V1 $V2

I tryed many ways but always I get a -1 at the end of line 1 in the log file


Thanks


Sjaak



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list