Timeout: No response from localhost

Justin Tu <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CADhPTjOGJNuN+urTMx4nVtJmDH4UYKC6PeQvSwCWHDNDyGjRQg@mail.gmail.com>
Hello

I'm running NetSNMP 5.7.3 on a VM Virtualbox with Ubuntu16.04 and keep
getting "Timeout: No response from localhost" when running the command "snmpget
localhost -v 2c -c public sysUpTime.0"

I've double checked that snmpd is indeed running with "service snmpd
status" which returns ...
● snmpd.service - LSB: SNMP agents
   Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
   Active: active (exited) since Thu 2017-11-16 20:43:08 PST; 12min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5173 ExecStop=/etc/init.d/snmpd stop (code=exited,
status=0/SUCCESS)
  Process: 5178 ExecStart=/etc/init.d/snmpd start (code=exited,
status=0/SUCCESS)

Nov 16 20:43:08 justin-VirtualBox systemd[1]: Stopped LSB: SNMP agents.
Nov 16 20:43:08 justin-VirtualBox systemd[1]: Starting LSB: SNMP agents...
Nov 16 20:43:08 justin-VirtualBox systemd[1]: Started LSB: SNMP agents.


I've double checked my snmpd.config at /usr/local/share/snmp and it seems
fine...
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rwuser: a SNMPv3 read-write user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

rwuser  localhost

# rouser: a SNMPv3 read-only user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

rouser  localhost

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  public localhost
rocommunity  public

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rwcommunity  public


I've been tearing my hair trying to fix this for the last few days so any
help would be greatly appreciated.

Justin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.