3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

14.4
Registering an SNMP Manager
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
14.3.2 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 with the
-p option
followed by the port to which the manager is listening. Follow the command (and the option
and its argument, if necessary) with the IP address of the manager’s server. Refer to the InForm
OS Command Line Interface Reference for more information about this command.
14.3.3 Agent Community Strings
In order for the SNMP Manager to communicate with the 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 storage server 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 what community strings are currently on the system, use the InForm 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 InForm CLI commands (
showsnmppw, setsnmppw, and removesnmppw),
you can follow the command with one or more of the following options to specify which
community string the command applies to:
-r for the read-only community string.
-w for the write-only community string.
-rw for the read/write community string.