Trap is a type of simple network management protocol (SNMP) message that indicates the occurrence of an event. This type of message is sent to a receiver through User Datagram Protocol (UDP), which is not fully reliable. If alarm information is reported in SNMP mode, you need to configure a trap server IP address. After a trap server IP address is configured, alarm information about a storage device will be sent to the specified application server or maintenance terminal.
Procedure
- Choose Settings > Alarm Settings > Alarm Notification.
- View trap server information. Table 1 describes the parameters.
Table 1 Trap server parameters
Parameter |
Description |
Server Address |
Address of a network management system or storage device for receiving alarm and event messages. [Value range] The value can be an IP address or a domain name.
- In the event of using an IPv4 address:
- A 32-bit IPv4 address is divided into four 8-bit fields that are expressed in dotted decimal notation.
- Each field of the IP address cannot be blank and must be an integer.
- The value of the leftmost field ranges from 1 to 223 (excluding 127).
- The values of the other fields range from 0 to 255.
- The IP address cannot be set to a special address such as a network address or broadcast address.
- In the event of using an IPv6 address:
- A 128-bit IPv6 address is divided into eight 16-bit fields. Each 16-bit field consists of four colon-separated hexadecimal numbers.
- In each 16-bit field, leading zeros can be omitted for simplicity. However, at least one digit must be reserved in each field.
- To achieve further simplicity, you can use a double colon (::) in place of a series of zeros. A double colon (::) can be used only once in an IPv6 address. It can also represent the neighboring consecutive zeros at the beginning or end of an IPv6 address.
- An IPv6 address cannot be set to a special one, such as a network address, loopback address, or multicast address.
- In the event of using a domain name:
- A domain name is case-insensitive and must use the English alphabet.
- A domain name contains 1 to 255 characters.
- A domain name can only contain letters (a to z and A to Z), digits (0 to 9), periods (.), and hyphens (-), and cannot start or end with a hyphen (-).
[Example] 192.168.100.11 fc00::1234 domain.com |
Port |
Port number of a trap server IP address. |
Version |
SNMP version used by the Trap server. Possible options are SNMPv1, SNMPv2c, and SNMPv3.
NOTE:
- SNMPv1 and SNMPv2c use communities for authentication.
- SNMPv3 supports the authentication and encryption of data. USM users need to be configured to implement data authentication and encryption.
- For security concerns, SNMPv3 is recommended.
|
Type |
Type of alarms sent by the storage device to the Trap server. Possible options are:
- Parsed: The storage device sends parsed alarms to the Trap server.
- Original: The storage device sends original alarms that are not parsed to the Trap server.
- Parsed time string: The storage device sends parsed alarms to the Trap server. All alarm IDs correspond to the same OID. The data type of event fields generated by alarms is OCTET STRING.
- Parsed time string precise: The storage device sends parsed alarms to the Trap server. The ID of each alarm corresponds to an independent OID, and different OIDs are used for alarm generation and clearance.
- Original time string: The storage device sends original alarms that are not parsed to the Trap server. The data type of alarm occurrence time (character string) and alarm clearing time (character string) is OCTET STRING.
- All: The storage device sends all types of alarms to the Trap server including Parsed, Original, Parsed time string, and Original time string.
|
USM User |
User who reports alarms using SNMP. |
- Manage a Trap server.
- Add a Trap server.
- Click Add.
The Add Trap Server page is displayed.
- Set the trap server information. Table 1 describes the parameters.
- Click OK.
- Delete a Trap server.
- Select the desired Trap server and click Delete.
A warning dialog box is displayed.
- Confirm your operation and click OK.
- Test a Trap server.
- Select the desired Trap server and click Test.
A warning dialog box is displayed.
- Confirm your operation and click OK.