Package: snmpd
Version: 5.1.2-6.1
Severity: important

snmpwalk returns wrong values for interface speed and operating status:

# snmpwalk -v 1 -c public localhost

IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifSpeed.2 = Gauge32: 0
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: down(2)
IF-MIB::ifInOctets.2 = Counter32: 48124446
IF-MIB::ifOutOctets.2 = Counter32: 30358579

# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:06:29:38:2D:55
          inet addr:83.65.94.231  Bcast:83.65.94.255  Mask:255.255.255.0
          inet6 addr: fe80::206:29ff:fe38:2d55/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:453341 errors:0 dropped:0 overruns:0 frame:0
          TX packets:81481 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:48157594 (45.9 MiB)  TX bytes:30387729 (28.9 MiB)
          Interrupt:161 Base address:0x2180


# dmesg
...
eth0: registered as PCnet/FAST 79C971
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1


(The machine is an IBM netfinity 5500 M20.)

This causes packages like mrtg not to work properly.
net-snmp-5.2.2.pre4 fixed the problem, previous version probably work
either.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages snmpd depends on:
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libsensors3              1:2.9.1-1sarge2 library to read temperature/voltag
ii  libsnmp5                 5.1.2-6.1       NET SNMP (Simple Network Managemen
ii  libwrap0                 7.6.dbs-8       Wietse Venema's TCP wrappers libra

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to