centos - snmpwalk timing out halfway through query
2014-07
This is on a CentOS Cacti server that has ran for months on end with no problem.
Now even for snmpwalk -v1 -cpublic localhost .1
results starts streaming through and halfway through results stop being listed for a moment and I get Timeout: No Response from localhost
.
Happens with other hosts that I could successfully query for months. What could this be?
How to configure multiple IP address in a router . My requirement is both address should respond to SNMP query
That largely depends on how you configure your router / what your router is running.
You can e.g. create virtual eth interfaces in linux (eth0, eth0:1, etc.)
auto eth0:1
iface eth0:1 inet static
address [ip]
netmask [netmask]
Then specify and bind the snmpd address in the snmpd configuration
OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x 127.0.0.1 [ip]"
You can also simply specify udp:
to listen on all interfaces. I.e.
OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x udp: "