> 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

Reply via email to