RE: Help connecting to agent

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC09EADE6F@mailserver.metatv-ds.metatv.com>
> From: Raúl Mellado [mailto:[email protected]] 
> Sent: Wednesday, November 26, 2008 2:30 AM

>    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
> ##############################################################
> #############

	There is no access control in here, so no command will ever be answered.

>    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!

	This is the expected response to an unauthorized community.  Please add to your snmpd.conf:

rwcommunity public

	This will help you get started.


	HTH,

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.