Yet another non CCIE post
It appears that Debian Lenny by default only binds to 127.0.0.1 (localhost). I had to add the following two lines to snmpd.conf to get snmpd to listen to external requests.
interface eth0
agentaddress 217.195.248.251:161
I eventually found the solution at debianhelp.org.
Categories: Main blog, Networking
3 Comments »
3 Responses to “Debian Lenny snmpd IP binding”
This was helpful, but in addition I discovered that 127.0.0.1 is hardcoded in SNMPDOPTS in /etc/default/snmpd. Once I took this out the agentaddress was obeyed.
Thanks to Jason Spears, removed the 127.0.0.0.1 from /etc/default/snmpd and it works like a charm. Using shorewall firewall that blocks external snmpd requests so I don’t care about binding it to a specific IP
Happytimes!
Ty, was looking for this a long time!
Care to comment?