Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to monitor a server (Ubuntu 12.04) via SNMP remotely. I have edited the snmpd.conf file and added a IP block to the readonly section. When I try to test SNMP locally, I can see that it works. Here is the command I used to test my SNMP daemon locally.

snmpwalk -v1 -c <comname> localhost system

The problem is, from remote hosts I can not see any messages. Below is the command I used.

snmpwalk -v1 -c <comname> <IPtoBeMonitored>

The error message I get is;

Timeout: No Response from <IPtoBeMonitored>

I don't have a firewall. What do you think might be the cause of this issue? Thanks in advance.

share|improve this question
up vote 0 down vote accepted

Run 'netstat -an | grep :161' - if you don't see the address of your Ethernet adapter (i.e. only then you need to configure agentaddress in your snmpd.conf.

share|improve this answer
I found out that Ubuntu keeps a file at /etc/default/snmpd which has a line as below. SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/' Deleting the from the line above and restarting SNMP daemon did the trick. Thank you rnxrx and @Joel K. You were both right. – patrician Jun 5 '12 at 5:32
@patrician this information does not appear to be accurate for 12.04. I experience the same issue but my default/snmpd does not have listed there... – Mxx Oct 20 '12 at 23:03

Check your snmpd.conf -- are you perhaps only binding on loopback?

share|improve this answer

Your Answer


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.