I'm trying to setup a lan monitoring system (zenoss)
Trying to enable SNMP in Lenny, I'm able to query the snmpd daemon only
on localhost.
I tried to configure snmpd.conf file using the tutorial at
http://www.debianhelp.co.uk/snmp.htm
Then I tried the snmpconf utility.
I always get the same behaviour:
snmpwalk localhost -c public -v1 (works correctly and gives a lot of output)
snmpwalk 192.168.32.161 -c public -v1 (gives the error "Timeout: No
Response from 192.168.32.161")
The files /etc/hosts_allow and /etc/hosts_deny are empty
What can I do?
Thanks
Mirto
> snmpwalk 192.168.32.161 -c public -v1 (gives the error "Timeout: No
> Response from 192.168.32.161")
Remove 127.0.0.1 from /etc/defaults/snmpd and restart your snmpd.
Regards
Frank
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
The first thing we want to make sure is that snmpd is only going to wait for connections on localhost. To do this, edit file /etc/default/snmpd and make sure those values are set:
SNMPDRUN=yes
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
127.0.0.1'
If you want your server to listen on all interfaces, remove the 127.0.0.1 bit.
This setting will make sure that the service will be started and that the service is going to bind to localhost.