[Pkg-net-snmp-devel] Bug#649120: lmsensors module makes snmpd choke and eventually die

Jean Robertson jean.robertson at mcgill.ca
Thu Nov 17 20:32:32 UTC 2011

Package: snmpd
Version: 5.4.3~dfsg-2
Severity: normal

the only way to keep the snmpd daemon responding is to turn off lmsensors module with a "snmpd -I -lmsensors" configuration change.
By default lmsensors is turned on.

When it starts up, it responds, but then slows down and eventually dies.

-- System Information:
Debian Release: 6.0.3
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages snmpd depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  debconf [debconf-2.0]         Debian configuration management sy
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libsnmp15               5.4.3~dfsg-2     SNMP (Simple Network Management Pr
ii  libwrap0                7.6.q-19         Wietse Venema's TCP wrappers libra
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

snmpd recommends no packages.

snmpd suggests no packages.

-- Configuration Files:
/etc/default/snmpd changed:
export MIBS=/usr/share/mibs
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -lmSensors -p /var/run/snmpd.pid netnode8.ece.mcgill.ca'
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'

/etc/snmp/snmpd.conf changed:
                                                 #  system + hrSystem groups only
view   systemonly  included   .
view   systemonly  included   .
                                                 #  Full access from the local host
                                                 #  Default access to basic system info
 rocommunity public  default    -V systemonly
                                                 #  Full access from an example network
                                                 #     Adjust this network address to match your local
                                                 #     settings, change the community string,
                                                 #     and check the 'agentAddress' setting above
                                                 #  Full read-only access for SNMPv3
 rouser   authOnlyUser
                                                 #  Full write access for encrypted requests
                                                 #     Remember to activate the 'createUser' lines above
sysLocation    Sitting on the Dock of the Bay
sysContact     Me <me at example.org>
                                                 # Application + End-to-End layers
sysServices    72
                               # At least one  'mountd' process
proc  mountd
                               # No more than 4 'ntalkd' processes - 0 is OK
proc  ntalkd    4
                               # At least one 'sendmail' process, but no more than 10
proc  sendmail 10 1
                               # 10MBs required on root disk, 5% free on /var, 10% free on all other disks
disk       /     10000
disk       /var  5%
includeAllDisks  10%
                               # Unacceptable 1-, 5-, and 15-minute load averages
load   12 10 5
                                    #   send SNMPv1  traps
 trapsink     localhost public
                                    #   send SNMPv2c traps
                                    #   send SNMPv2c INFORMs
                                   # Remember to activate the 'createUser' lines above
iquerySecName   internalUser       
rouser          internalUser
                                   # generate traps on UCD error conditions
defaultMonitors          yes
                                   # generate traps on linkUp/Down
linkUpDownNotifications  yes
 extend    test1   /bin/echo  Hello, world!
 extend-sh test2   echo Hello, world! ; echo Hi there ; exit 35
                                           #  Run as an AgentX master agent
 master          agentx
                                           #  Listen for network connections (from localhost)
                                           #    rather than the default named socket /var/agentx/master

-- debconf information:

More information about the Pkg-net-snmp-devel mailing list