[mrtg] Re: mrtg log -1 error
Tagle, Michael F.
michael at cureinc.com
Fri Mar 8 10:58:30 MET 2002
it happens normally when call unknown OIDs, meaning there was an error on
your target. you may try using command:
perl mrtg file.cfg
it will display the errors.
-----Original Message-----
From: Sjaak Nabuurs VSM-Hosting.nl [mailto:sjaak at vsm-hosting.nl]
Sent: Friday, March 08, 2002 5:29 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] mrtg log -1 error
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
--
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