[mrtg] trouble finding Virtual Interface
Daniel J McDonald
dmcdonald at digicontech.com
Tue Oct 17 19:38:34 MEST 2000
I started getting errors like:
[root at netmon mrtg]# tail /var/log/mrtg
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.31.1.1.1.1.28)
SNMPv1_Session (remote host: "172.16.7.1" [172.16.7.1].161
community: "11874"
request ID: 357056860
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPGET Problem for ifName.28 ifInOctets.28 ifName.28 ifOutOctets.28 on
11874 at 172.16.7.1
So, I looked to see where it came up with index 28:
[root at netmon mrtg]# grep Tar mrtg.cfg | grep Vi
Target[172.16.7.1_Vi1]: #Vi1:pub at 172.16.7.1
[root at netmon mrtg]# grep Vi mrtg.ok
11874 at 172.16.7.1 Descr Virtual-Access1 30
11874 at 172.16.7.1 Name Vi1 28
[root at netmon mrtg]# snmpwalk -R 172.16.7.1 pub ifDescr | grep Vi
interfaces.ifTable.ifEntry.ifDescr.30 = Virtual-Access1
[root at netmon mrtg]# snmpwalk -R 172.16.7.1 pub ifName | grep Vi
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.30 = Vi1
How often does mrtg 2.9.0pre31 check the ifName entry to see if it has got
it right?
--
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