Package: snmpd
Version: 5.2.1.2-4
Severity: important

On Dell em64t systems running the amd64 port of Debian, interfaces statistics
polled via snmp from remote hosts stop incrementing.  I haven't tested
on other hardware so can only speak to Dell hardware at the moment.  But
the bug shows up on every system running Debian's amd64 port.  Systems
running the i386 port with 64bit kernels DO NOT exhibit this problem.

Originally, we were running the sarge version of snmpd (5.1.2-6.2) but
this bug forced us to backport the etch version of snmpd to sarge.
Unfortunately, the bug appears in the etch version as well.

When initially run, snmpd works fine, interface statistics increment
properly and remote polling works as expected.  Then after a few days
(perhaps from a counter wrap but not sure), the polled data stops
incrementing.  The polling still works but the data is not correct.  For
example, a snmpwalk might yield the following:

$ snmpwalk -v 1 -c community remotehost ifDesc
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: sit0

$ snmpwalk -v 1 -c community remotehost ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 16614789
IF-MIB::ifOutOctets.2 = Counter32: 16614789
IF-MIB::ifOutOctets.3 = Counter32: 16614789
IF-MIB::ifOutOctets.4 = Counter32: 0

Then an hour later:
$ snmpwalk -v 1 -c community remotehost ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 16614789
IF-MIB::ifOutOctets.2 = Counter32: 16614789
IF-MIB::ifOutOctets.3 = Counter32: 16614789
IF-MIB::ifOutOctets.4 = Counter32: 0

With version 5.1.2, restarting snmpd does not fix the problem.  On
5.2.1, restarting snmpd works (or seems to).  On 5.2.1, the problem
coincided with the following log entry:

snmpd[27974]: looks like a 64bit wrap, but prev!=new

which suggests a problem with the counter wrap code.  All other snmp data
polled seems to work fine.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-11-em64t-p4
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  libsnmp9                 5.2.1.2-4       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