Sleepysnmp

From CoolSolutionsWiki

Contents

ISSUE

  1. SNMP hangs
  2. SNMP fails
  3. SNMP service stops servicing requests and goes to sleep by stops responding
  4. ould not open /proc/net/if_inet6
  5. NET-SNMP version 5.3.0.1
  6. Connection from UDP: [10.x.x.x]:4350
  7. Timeout: No Response from 10.139.2.250
  8. cannot open /proc/net/snmp6

FACTS:

Sles 10 sp1 oes 2 FCS...happens to OES 2 sp1 too net-snmp-5.3.0.1-25.24.5 none of the problem servers are at HQ...hum...something nasty on the routers...attacking the sles box? No ipv6 in yast networker

tried

UPDATED to net-snmp-5.3.0.1-25.28.x86_64.rpm updated tcpd-32bit-7.6-731.2.PTF.378063.0.x86_64.rpm turn off apparmor modify /etc/hosts.allow and added ALL : localhost : ALLOW

commands

  1. tail -f /var/log/net-snmpd.log
  2. gedit /etc/sysconfig/net-snmp
  3. SNMPD_LOGLEVEL="7"
  4. rpm -q --changelog net-snmp-5.3.0.1-25.28.x86_64.rpm
  5. package net-snmp-5.3.0.1-25.28.x86_64
  6. snmpwalk -Os -c public -v 1 10.139.2.250 system
  7. strace -s 200 -tt -o /root/novell/stracesnmp.log /usr/sbin/snmpd
  8. /usr/bin/snmpgetnext -On -v1 -c public
  9. localhost .1.3.6.1.4.1.231.2.10.2.2.3.2.1.19.4.5.3.29
  10. .1.3.6.1.4.1.231.2.10.2.2.3.2.1.20.4.1.1.3 = INTEGER: 0

FIX

  1. I found I could NOT install RPMs...upon further investigation open files were hung because of a stale NFS mount. After stopping the NFS mount, snmp would work.
  2. stopped using NFS mounts and did SCP