How to make SNMP Agent accept connections from other hosts in the network?
Edit the file /etc/snmp/snmpd.conf
. Change the line:
agentAddress udp:127.0.0.1:161
to:
agentAddress udp:161
Then restart snmpd:
sudo service snmpd restart
It should listen to all interfaces now:
$ sudo netstat -ulnp | grep 161
udp 0 0 0.0.0.0:161 0.0.0.0:* 8517/snmpd