I have a remote host where I installed the net-snmp package. The remote host is using CentOS 5.1 x64. I configured the snmpd.conf file as seen below. The remote host is also firewalled and I also attempted to allow snmp through iptables. The remote host is going to be monitored by Nagios (CentOS 5.1 i386). The problem is I keep getting "Timeout: No response from host" when I try snmpwalk (from the Nagios server and on the localhost itself). Could someone assist me trying to get this work. Is this a problem with x64 version of CentOS?
remote host snmpd.conf
1st section:
Code:
# sec.name source community
com2sec localhost 127.0.0.1 public
com2sec nagiossrv <IP Address> public
second section:
Code:
# groupName securityModel securityName
group Local v1 localhost
group Nagios v1 nagiossrv
group Local v2c localhost
group Nagios v2c nagiossrv
third section:
Code:
# Make at least snmpwalk -v 1 localhost -c public system fast again.
# name incl/excl subtree mask(optional)
view all included .1
view all included .iso.org.dod.internet.mgmt F8
fourth section:
Code:
# group context sec.model sec.level prefix read write notif
access Local "" any noauth 0 all none none
access Nagios "" any noauth 0 all none none
Here is my iptables entry:
Code:
ACCEPT udp -- <IP Subnet> anywhere state NEW udp dpt:snmp