Hi,

I was wondering if someone could take a quick look at my conf file below
and see why when I do the following:

/opt/emc/dist/local/usr/bin/snmpget -v 1 -c whatever localhost
SNMPv2-MIB::sysUp
Time.0

I get the following error message:

Timeout: No Response from localhost. 

This is assuming of course that startup of 'snmpd' master agent is
successful (I tried the patch to get rid of the first three messages and
it didn't work but apparently it the agent is running noneless).

# snmpd -f -Le
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
Turning on AgentX master support.
NET-SNMP version 5.4.1


Thank you again for your response,
Randy


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

# 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  "contact administrator"

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

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

#rouser

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

rocommunity  whatever

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

rwcommunity  private



########################################################################
###
# SECTION: Trap Destinations
#
#   Here we define who the agent will send traps to.

# trapsink: A SNMPv1 trap receiver
#   arguments: host [community] [portnum]

#trapsink  10.4.5.178 public

# trap2sink: A SNMPv2c trap receiver
#   arguments: host [community] [portnum]

trap2sink  168.159.121.153 public

# informsink: A SNMPv2c inform (acknowledged trap) receiver
#   arguments: host [community] [portnum]

#informsink  10.4.10.94 public 162

# trapcommunity: Default trap sink community to use
#   arguments: community-string

trapcommunity  public

# authtrapenable: Should we send traps when authentication failures
occur
#   arguments: 1 | 2   (1 = yes, 2 = no)

authtrapenable  2


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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