NAME
traptest - tests of SNMP Trap
SYNOPSIS
traptest [ipaddr]
COMMAND PATH
$INS_DIR\ESC\Agent\bin\traptest
($INS_DIR means "Program Directory" specified at the Storage Cruiser's agent installation.)
/opt/FJSVssage/bin/traptest
DESCRIPTION
This command checks whether SNMP Trap is correctly transmitted to the Management Server from a server node agent, display an event, and check the linkage with Shell/Bat. The Centric Manager linkage is not operated by this command.
If the action on SNMP Trap as a test is supposed to be changed, change the SNMP Trap XML definition file (1_3_6_1_4_1_211_4_1_3_21_2_2.xml) for the agent. In SNMP Trap as a test, 1 is used for Specific Trap Type number and the action can be changed by changing the definition of the Specific Trap Type number 1 defined in the SNMP Trap XML definition file. Refer to "A.5 SNMP Trap XML Definition File" for the SNMP Trap XML definition file.
OPERANDS
Only in the environment where the host holds two or more IP addresses (including loopback IP address, IPv4/IPv6 dual stack), specify a server node's IP address (start IP address of the Storage Cruiser's agent) which the Storage Cruiser's manager recognizes.
When specifying IPv6 address, specify a global address.
As for IPv6 address display format, the Web Console displays IP addresses with reference to RFC5952. For this reason, they may be different from those specified by this command.
OPTIONS
None.
EXAMPLES
SNMP Trap is transmitted from the server node agent of IP address 11.11.11.11.
> traptest 11.11.11.11
NOTES
If the SNMP Trap send destination address is not set to the server node when execute the command, the following results are output.
Target Host Nothing SNMPTrap error
If the server node that input in the command is not registered, re-execute the command after registering the server node.
Execute the same action in case where the server node is not registered after deletion of the server node.
The SNMP Trap community name that is issued using this command, is fixed to "public".
If there is any error in the specified IP address format, the following result is output. Specify a valid IP address to re-execute the action.
Invalid parameter: specifiedIpAddress
SNMPTrap error