Koozali.org: home of the SME Server

snmpwalk problem

simpleone

snmpwalk problem
« 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

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
snmpwalk problem
« Reply #1 on: July 14, 2004, 10:30:00 AM »
Have you tried to use localhost instead of the IP address?

simpleone

snmpwalk problem
« Reply #2 on: July 15, 2004, 05:48:37 AM »
still get even using localhost rather than IP address
connection refused.

Jesper Knudsen

snmpwalk problem
« Reply #3 on: July 15, 2004, 08:54:08 AM »
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