Re: Help connecting to agent

"Raúl Mellado" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
   Hello Mike,
   thanks for your quick answer. This is my snmpd.conf (placed in
/usr/local/share/snmp/):

###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: System Information Setup
#
#   This section defines some of the information reported in
#   the "system" mib group in the mibII tree.

# syslocation: The [typically physical] location of the system.
#   Note that setting this value here means that when trying to
#   perform an snmp SET operation to the sysLocation.0 variable will make
#   the agent return the "notWritable" error code.  IE, including
#   this token in the snmpd.conf file will disable write access to
#   the variable.
#   arguments:  location_string

syslocation  "Test location string"

# syscontact: The contact information for the administrator
#   Note that setting this value here means that when trying to
#   perform an snmp SET operation to the sysContact.0 variable will make
#   the agent return the "notWritable" error code.  IE, including
#   this token in the snmpd.conf file will disable write access to
#   the variable.
#   arguments:  contact_string

syscontact  "Test contact info"

# sysservices: The proper value for the sysServices object.
#   arguments:  sysservices_number

sysservices 0
###########################################################################

   And these are the failing commands (all of them get Timeout: No Response
from localhost)

 snmpget -v1 -c public localhost  system.sysLocation.0
 snmpwalk -v1 localhost -c public system

(I've tried with -v1 and -v2c, and the result is the same).

   Any advice about what to try next? Thank you so much for your help!
   BR

   Raúl


On Tue, Nov 25, 2008 at 6:18 PM, Mike Ayers <[email protected]> wrote:

> > From: Raúl Mellado [mailto:[email protected]]
> > Sent: Tuesday, November 25, 2008 6:41 AM
>
> >     I'm getting the classical 'Timeout: No Response from
> > localhost' whenever I try a snmpwalk, get, etc., either from
> > localhost or from a remote host.
>
>         Please post your snmpd.conf, snmp.conf (if you use one), and the
> failing command (snipped, not retyped, please).
>
>
>        Thanks,
>
> Mike
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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.