[mrtg] Cannot determine ifNumber
Jan Kasprzak
kas at fi.muni.cz
Fri Aug 25 15:23:21 MEST 2006
Hi all,
after upgrading my router (including the net-snmp package), I am receiving
the following errros while running mrtg from my management station:
Friday, 25 August 2006 at 15:10: WARNING: Can not determine ifNumber for <community>@<myrouter> ref: 'Descr' key: 'vlan46'
Friday, 25 August 2006 at 15:10: ERROR: Target[<myrouter>.vlan46][_IN_] ' $target->[11]{$mode} ' did not eval into defined data
Friday, 25 August 2006 at 15:10: ERROR: Target[<myrouter>.vlan46][_OUT_] ' $target->[11]{$mode} ' did not eval into defined data
The problem may be discontiguous numbering of interfaces, while
"vlan46" is the first one after the hole:
mgmt-station$ snmpwalk -v2c -c <community> <myrouter> interfaces
IF-MIB::ifNumber.0 = INTEGER: 13
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.11 = INTEGER: 11
IF-MIB::ifIndex.12 = INTEGER: 12
IF-MIB::ifIndex.13 = INTEGER: 13
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifDescr.1 = STRING: eth0
IF-MIB::ifDescr.2 = STRING: eth1
IF-MIB::ifDescr.3 = STRING: eth2
IF-MIB::ifDescr.4 = STRING: eth3
IF-MIB::ifDescr.5 = STRING: lo
IF-MIB::ifDescr.6 = STRING: sit0
IF-MIB::ifDescr.7 = STRING: vlan3
IF-MIB::ifDescr.8 = STRING: vlan4
IF-MIB::ifDescr.10 = STRING: vlan46
IF-MIB::ifDescr.11 = STRING: vlan6
IF-MIB::ifDescr.12 = STRING: vlan7
IF-MIB::ifDescr.13 = STRING: vlan8
IF-MIB::ifDescr.14 = STRING: vlan9
I monitor all interfaces except lo and sit0, and other graphs are
apparently OK. MRTG complains about vlan46 only.
The problem occured after upgrading the router, so it may be there
is a bug in net-snmp. In this case tell me what exactly is against the
standards, so that I can fill a net-snmp bug report.
My mgmt station is mrtg-2.14.5 on Gentoo x86_64.
Thanks,
-Yenya
--
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/ Journal: http://www.fi.muni.cz/~kas/blog/ |
> I will never go to meetings again because I think face to face meetings <
> are the biggest waste of time you can ever have. --Linus Torvalds <
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list