HP SNMP/XL User's Guide (36922-90036)

Chapter 2 25
Configuring HP SNMP/XL
SNMPSAMP and SNMPCONF
# location: 1st Floor near west elevator
#
# contact: enter the person responsible for this agent, together with
# information on how to contact this person.
#
# example: if Bob Jones is responsible for this agent, and his
# phone number is 555-2000, enter
#
# contact: Bob Jones (Phone 555-2000)
#
##
agent-community-name: # enter a community name
trap-dest: # enter a system name where traps will be sent
location: # enter location of agent
contact: # enter contact person and how to contact this person
The SNMPCONF file should be the primary configuration file. This file
can be modified with any standard editor and reloaded via the
UPDATECONFIG command described in Chapter 3 , “Using SNMPUTIL.
You should add the agent-community-name, trap-dests, location,
and contact information to this file.
NOTE
It is recommended that you modify these parameters in a consistent
manner with the SNMP network management station and applications.
For example, both the agent and manager should have the same
agent-community-name. The IP address of the trap-dest should be
that of the management station.
If you do not add any information to this skeleton file before starting up
the SNMP agent, then the agent-community-name, trap-dests,
location, and contact remain unconfigured. This means that:
The agent-community-name is NULL. No inbound packets are
excluded on the basis of community name.
The location and contact is NULL. An attempt to retrieve the MIB
object for location or contact results in an SNMP response being
returned, indicating that they are NULL.
No traps are sent from this agent as long as no trap-destinations
are configured.
If you want to add any new information to the configuration file, once
the product has been started, you must edit the SNMPCONF file and
execute the command SNMPCONTROL UPDATECONFIG. Or, you can shut
down the product, edit the SNMPCONF file, and restart the product so
that the new SNMPCONF file is read.