Viewing Registered Managers; Removing A Manager; Agent Community Strings; Testing Snmp Managers - HP 3PAR StoreServ 7200 2-node Administrator's Manual

Hp 3par command line interface administrator's manual: hp 3par os 3.1.2 (qr482-96525, september 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

Viewing Registered Managers

Use the HP 3PAR CLI command showsnmpmgr to see which managers are already registered
with the SNMP agent.
NOTE:
If the manager that monitors the system has changed, remove the old manager and
register the new one.

Removing a Manager

To remove a manager from the agent's list of registered managers, thus preventing that manager
from receiving traps, use the removesnmpmgr command. If there is more than one manager
running on the same server, you can distinguish between them by using the -p option followed
by the port to which the manager is listening. Follow the command (and the option and its argument,
if applicable) with the IP address of the manager's server. For more information about the
removesnmpmgr command, see the HP 3PAR Command Line Interface Reference.

Agent Community Strings

In order for the SNMP Manager to communicate with the HP 3PAR SNMP agent, it must pass the
agent the correct community string. To do this, the manager needs to know the agent community
string. The system comes with the single default community string "public" with reading permissions
for the agent. You can add read-only and write-only community strings, and you can change or
remove any of the community strings.
To see community strings that are currently available on the system, use the HP 3PAR CLI command
showsnmppw. By default, this command shows the read/write community string. If the community
string you are requesting does not exist, you will get an error message.
To add or update a community string, use the setsnmppw command followed by the new community
string. By default, this command changes the read/write community string.
To remove a community string, use the removesnmppw command. Once the community string is
removed, the manager can no longer send requests to the SNMP agent. By default, this command
removes the read/write community string.
For any of these three HP 3PAR CLI commands (showsnmppw, setsnmppw, and removesnmppw),
you can follow the command with one or more of the following options to specify the community
string to which the command applies:
-r for the read-only community string.
-w for the write-only community string.
-rw for the read/write community string.

Testing SNMP Managers

To send a test trap to all SNMP managers displayed with the showsnmpmgr command, issue the
checksnmp command. The CLI displays the IP addresses of the tested mangers.
For details about the test trap sent by the checksnmp command, see the HP 3PAR Command Line
Interface Reference and the HP 3PAR CLI Help.

Creating SNMPv3 Users

To create SNMPv3 users you must have Super role user rights, or any role that has been granted
the snmpuser_create right. The createsnmpuser command creates the SNMPv3 user secret
key, which is used for generating authentication and privacy keys. The user name must be an
existing HP 3PAR OS local user.
168 Using the HP 3PAR SNMP Infrastructure

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents