Sleepysnmp
From CoolSolutionsWiki
Contents |
[edit]
ISSUE
- SNMP hangs
- SNMP fails
- SNMP service stops servicing requests and goes to sleep by stops responding
- ould not open /proc/net/if_inet6
- NET-SNMP version 5.3.0.1
- Connection from UDP: [10.x.x.x]:4350
- Timeout: No Response from 10.139.2.250
- cannot open /proc/net/snmp6
[edit]
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
[edit]
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
[edit]
commands
- tail -f /var/log/net-snmpd.log
- gedit /etc/sysconfig/net-snmp
- SNMPD_LOGLEVEL="7"
- rpm -q --changelog net-snmp-5.3.0.1-25.28.x86_64.rpm
- package net-snmp-5.3.0.1-25.28.x86_64
- snmpwalk -Os -c public -v 1 10.139.2.250 system
- strace -s 200 -tt -o /root/novell/stracesnmp.log /usr/sbin/snmpd
- /usr/bin/snmpgetnext -On -v1 -c public
- localhost .1.3.6.1.4.1.231.2.10.2.2.3.2.1.19.4.5.3.29
- .1.3.6.1.4.1.231.2.10.2.2.3.2.1.20.4.1.1.3 = INTEGER: 0
[edit]
FIX
- 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.
- stopped using NFS mounts and did SCP
