Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to monitor a remote server using SNMP v3 and Centos 6.4.

When I use snmpwalk to test the configuration on the server I'm trying to monitor:

snmpwalk [connection parameters...] subdomain.mydomain.com

or

snmpwalk [connection parameters...] localhost

It works. But when I try the same on a remote server I got the following error:

snmpwalk: Timeout

I have disabled iptables on both servers, when I check if the service is listening I get:

tcp  0  0 localhost.localdomain:smux *:*  LISTEN  11989/snmpd         
udp  0  0 *:snmp                     *:*          11989/snmpd

I also tried increasing the timeout value on the client side...

I have run out of ideas about what could be going on. Can anyone help me?

share|improve this question
2  
How have you configured snmpd? Check your /etc/snmp/snmpd.conf. –  Michael Hampton Jun 6 '13 at 0:45
    
It has the default configuration + "rouser [myuser]" –  user1246400 Jun 6 '13 at 1:49
    
That's not enough information. We need to know who can access this device via snmp. This is defined in snmpd.conf as @Feussy has mentioned. –  aairey Oct 30 at 10:58

1 Answer 1

By default, the ability to query the net-snmp agent is limited to the local host with the exception of the System MIB. In order to allow access to the other MIBs (or any if you've further restricted access) you need to examine the Access Control section of the /etc/snmp/snmpd.conf file on your server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.