Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: simpleone on July 13, 2004, 06:42:50 AM
-
Hi All,
i hope someone can help with this, i have snmp all up and running fine and snmpwalk to a number of boxes from my SME server, but when i try and snmpwalk itself (127.0.0.1) i get connection refused ?
Simon
-
Have you tried to use localhost instead of the IP address?
-
still get even using localhost rather than IP address
connection refused.
-
Alright then you might not have the right rights.
You then need to change the hosts.allow file to allow access to the snmp deamon
Issue the following commands at console:
[root@e-smith ]# mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow
[root@e-smith ]# echo "snmpd: 127.0.0.1, 192.168.xxx.0/255.255.255.0" > /etc/e-smith/templates-custom/etc/hosts.allow/snmpd
[root@e-smith ]# /sbin/e-smith/expand-template /etc/hosts.allow
You can replace the "127.0.0.1, 192.168.xxx.0/255.255.255.0" with "ALL" if you allow SNMP requests from the anywhere.
[root@e-smith ]# service snmpd restart