trilarian
01-22-2007, 01:32 PM
I am trying to setup snmp on a few Debian boxes to just report back basic information. I have installed snmpd and can get information if I try to read the log locally, but can not do it from another machine on the same network.
For example:
snmpwalk -v 2c -c public localhost system
will return all the correct values under system. However, if I go to another Debian machine and type:
snmpwalk -v 2c -c public xxx.xxx.xxx.xxx system
I get the error "Timeout: No Response from xxx.xxx.xxx.xxx". I get this error if I use either the IP address or the host name. I can ping and connect to other ports(FTP for example) just fine, so it is not a network connection problem. Any help would be appreciated. Relevant parts of the config file snmpd.conf are below.
rocommunity public
com2sec local localhost public
com2sec mynetwork xxx.xxx.xxx.0/24 public
group local MyROGroup v1
group local MyROGroup v2c
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
access exact MyROGroup "" any noauth all none none
trapsink localhost public
trap2sink localhost public
For example:
snmpwalk -v 2c -c public localhost system
will return all the correct values under system. However, if I go to another Debian machine and type:
snmpwalk -v 2c -c public xxx.xxx.xxx.xxx system
I get the error "Timeout: No Response from xxx.xxx.xxx.xxx". I get this error if I use either the IP address or the host name. I can ping and connect to other ports(FTP for example) just fine, so it is not a network connection problem. Any help would be appreciated. Relevant parts of the config file snmpd.conf are below.
rocommunity public
com2sec local localhost public
com2sec mynetwork xxx.xxx.xxx.0/24 public
group local MyROGroup v1
group local MyROGroup v2c
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
access exact MyROGroup "" any noauth all none none
trapsink localhost public
trap2sink localhost public