Configuring The Snmp Agent; Configuring Trapsink Settings - HP StoreAll 9730 Administrator's Manual

Hide thumbs Also See for StoreAll 9730:
Table of Contents

Advertisement

Configuring the SNMP agent

The SNMP agent is created automatically when the Fusion Manager is installed. It is initially
configured as an SNMPv2 agent and is off by default.
Some SNMP parameters and the SNMP default port are the same, regardless of SNMP version.
The default agent port is 161. SYSCONTACT, SYSNAME, and SYSLOCATION are optional MIB-II
agent parameters that have no default values.
NOTE:
The default SNMP agent port was changed from 5061 to 161 in the StoreAll 6.1 release.
This port number cannot be changed.
The -c and -s options are also common to all SNMP versions. The -c option turns the encryption
of community names and passwords on or off. There is no encryption by default. Using the -s
option toggles the agent on and off; it turns the agent on by starting a listener on the SNMP port,
and turns it off by shutting off the listener. The default is off.
The format for a v1 or v2 update command follows:
ibrix_snmpagent -u -v {1|2} [-p PORT] [-r READCOMMUNITY] [-w WRITECOMMUNITY]
[-t SYSCONTACT] [-n SYSNAME] [-o SYSLOCATION] [-c {yes|no}] [-s {on|off}]
The update command for SNMPv1 and v2 uses optional community names. By convention, the
default READCOMMUNITY name used for read-only access and assigned to the agent is public.
No default WRITECOMMUNITY name is set for read-write access (although the name private is
often used).
The following command updates a v2 agent with the write community name private, the agent's
system name, and that system's physical location:
ibrix_snmpagent -u -v 2 -w private -n agenthost.domain.com -o DevLab-B3-U6
The SNMPv3 format adds an optional engine id that overrides the default value of the agent's
host name. The format also provides the -y and -z options, which determine whether a v3 agent
can process v1/v2 read and write requests from the management station. The format is:
ibrix_snmpagent -u -v 3 [-e engineId] [-p PORT] [-r READCOMMUNITY]
[-w WRITECOMMUNITY] [-t SYSCONTACT] [-n SYSNAME] [-o SYSLOCATION]
[-y {yes|no}] [-z {yes|no}] [-c {yes|no}] [-s {on|off}]

Configuring trapsink settings

A trapsink is the host destination where agents send traps, which are asynchronous notifications
sent by the agent to the management station. A trapsink is specified either by name or IP address.
StoreAll software supports multiple trapsinks; you can define any number of trapsinks of any SNMP
version, but you can define only one trapsink per host, regardless of the version.
At a minimum, trapsink configuration requires a destination host and SNMP version. All other
parameters are optional and many assume the default value if no value is specified.
The format for creating a v1/v2 trapsink is:
ibrix_snmptrap -c -h HOSTNAME -v {1|2} [-p PORT] [-m COMMUNITY] [-s {on|off}]
If a port is not specified, the command defaults to port 162. If a community is not specified, the
command defaults to the community name public. The -s option toggles agent trap transmission
on and off. The default is on. For example, to create a v2 trapsink with a new community name,
enter:
ibrix_snmptrap -c -h lab13-116 -v 2 -m private
For a v3 trapsink, additional options define security settings. USERNAME is a v3 user defined on
the trapsink host and is required. The security level associated with the trap message depends on
which passwords are specified—the authentication password, both the authentication and privacy
passwords, or no passwords. The CONTEXT_NAME is required if the trap receiver has defined
subsets of managed objects. The format is:
Setting up SNMP notifications
73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ibrix x9720

Table of Contents