LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-18-2009, 02:50 PM   #1
Treikayan
Member
 
Registered: Oct 2008
Location: North Royalton, Ohio
Distribution: RHEL 5.1 i386
Posts: 61

Rep: Reputation: 15
Using net-snmp: Timeout, no response from host


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
 
Old 03-18-2009, 03:38 PM   #2
0.o
Member
 
Registered: May 2004
Location: Raleigh, NC
Distribution: Debian, Solaris, HP-UX, AIX
Posts: 207

Rep: Reputation: 35
Quote:
Originally Posted by Treikayan View Post
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
Try and remove the state portion of your firewall rule. Also check the logs on the remote box for any hints.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
snmpwalk Timeout: No Response from host thedonkdonk Linux - Software 1 11-27-2007 03:49 PM
snmp + no response from local host aeby Linux - Server 2 08-29-2007 08:29 AM
NET-SNMP version 5.1.2 / Timeout: No Response from <server> The00Dustin Linux - Software 2 03-07-2006 05:26 PM
response timeout by snmp agent anubhuti_k Linux - Networking 0 02-20-2005 03:15 AM
net snmp and host resource mib kumaran5 Linux - Networking 0 05-03-2004 01:33 AM


All times are GMT -5. The time now is 09:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration