Hi,
We are facing some typical issue with SNMP. we are running the
below "snmpwalk" command. but sometimes it is running and sometimes
it is getting Timeout error.
"snmpwalk -v 1 -c public localhost system"
We have tried the latest nety-snmp rpms.
our snmpd.conf file is very simple.
cat /etc/snmp/snmpd.conf
rocommunity public
rwcommunity public
we have already tried the /etc/hosts.allow, disabling the iptables, also played with route table but there is no luck at all.
we do not want to use SNMPv3, we will be working on SNMPv1 onlly. so we are using the simple snmpd.conf file. even we have tried with different snmpd.conf configurations. but we are unsuccessful.
Other one thing we observed from debugging the snmpd process and doing strace on snmpwalk process.
1. snmpd process is keep on polling all the network interfaces on that server.
2.snmpwalk sending the sendmsg call 5 times and its getting timedout.
3. if my snmpwalk request is sending the sendmsg calls immediatly after all network interfaces polling of snmpd process. i will get the MIB's output.
is it normal behavior of SNMP on redhat or something unusual here?
We also observed when we have more than 4-5 network interface cards, everything is working properly. But in out system we have almost 15-16 nic cards.
can anyone please help in troubleshooting the issue.
Thanks & Regards,
Jagan