RE: SNMP reporting wrong max bandwidth
"Tim Donnelly" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <2f7e01c83364$c80ef9f0$582cedd0$@org> |
Dave, I really appreciate your help here. >> mibII/interfaces: ETHTOOL_GSET on eth0 speed = 1000 >That shows that eth0 is being (correctly) detected as 1000 Mb/sec >> mibII/interfaces: fallback to mii for eth1 >That shows that the agent doesn't believe the speed it is >getting back for eth1, and tries another approach .... >> mibII/interfaces: SIOCGMIIPHY on eth1 failed >.... which fails, before falling back to a hardcoded default >of 10 Mb/sec. >So there are now two separate issues: > - Why is the initial speed for eth1 being discarded? > - Why does the speed for eth0 change from 1000 to 100 Mb/sec ? > (assuming that ifName.1 is "eth1" and ifName.2 is "eth0") >Which do you want to investigate first? I actually don't think the speeds are being misreported in this case. The snmpd -DmibII/interfaces was run on my monitoring server, isis. According to MRTG (grain of salt I know) it is correctly being reported as 1000Mb/s for eth0, which seems to be bared out by this line in the debug output: ETHTOOL_GSET on eth0 speed = 1000 eth1 is not configured on this server, so could that be the reason for the fallback to mii and subsequent failure of SIOCGMIIPHY? When I try to run the same command on one of the servers that is being misreported I get: snmpd -DmibII/interfaces No log handling enabled - turning on stderr logging registered debug token mibII/interfaces, 1 mibII/interfaces: No link... grdb:/home/tdonnelly # mibII/interfaces: No link... [init_smux] bind failed: Address already in use Error opening specified endpoint "" Server Exiting with code 1 I can confirm that snmp is running, although it is a different version that what is on isis (5.4.rc2 vs. 5.3.0.1). But to answer you assumption: IF-MIB::ifName.1 = STRING: lo IF-MIB::ifName.2 = STRING: eth0 IF-MIB::ifName.3 = STRING: eth1 IF-MIB::ifName.4 = STRING: sit0 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users