Enabling Alarm Dump
After you enable the alarm dump function, alarm messages will be dumped automatically to the specified FTP or SFTP server when the alarm message number exceeds the preset threshold.
Prerequisites
- When the FTP server is used to save alarm information, the FTP server communicates with the storage system properly. To improve communication reliability, you are advised to configure the FTP server and storage system on the same LAN and configure their IP addresses on the same network segment.
- When the SFTP server is used to save alarm information, the SFTP server communicates with the storage system properly. To improve communication reliability, you are advised to configure the SFTP server and storage system on the same LAN and configure their IP addresses on the same network segment.
- If alarm information is stored on an FTP server and a firewall is configured on the network, port 21 is enabled.
- If alarm information is stored on an SFTP server and a firewall is configured on the network, port 22 is enabled.
Context
- If alarm dump is not configured for the storage system, when the number of generated events reaches 45,000, alarm "The Space That Stores Event Logs Is To Be Used Up" is triggered. When the number of generated events reaches 50,000 (the upper limit), the system automatically deletes the earliest 10,000 events.
- If alarm dump is configured for the storage system, when the number of generated events reaches 45,000, alarm "The Space That Stores Event Logs Is To Be Used Up" is not triggered. When the number of generated events reaches the 50,000 (the upper limit), the system automatically dumps and deletes the earliest 10,000 events to the specified FTP or SFTP server. When the number of generated login and logout events reaches the 20,000 (the upper limit), the system automatically dumps and deletes the earliest 10,000 login and logout events.
To ensure that all events generated by the storage system are not lost, you are advised to enable alarm dump.
Procedure
- Log in to DeviceManager.
- Choose Settings > Alarm Settings.
- Modify parameters for alarm dump.
- In the navigation pane, choose Alarm Dump.
- Table 5-14 describes the related parameters.
Table 5-14 Alarm dump parameters
Parameter
Description
Value
Transport Protocol
Specifies the transport protocol for alarm dump, including SFTP and FTP.
NOTE:The storage systems support FTP for compatibility concerns. You are advised to use SFTP to ensure data transmission security.
[Example]
FTP
Username
Specifies the user name of the server that stores alarm information.
[Value range]
- A character string of 1 to 63 characters.
- The user name cannot contain single quotation marks (').
[Example]
files
Password
Specifies the password for logging in to the server.
[Value range]
- A character string of 1 to 63 characters.
- The password cannot contain extended ASCII or Unicode characters. Otherwise, the password cannot be used normally. It is recommended that the password contain characters from the following categories:
- Digits (0-9)
- Uppercase characters (A-Z)
- Lowercase characters (a-z)
- Space
- Special characters such as [\]^_{|}~`@!"#$%&'()*+-./:;<=>?
[Example]
123456
Server
Indicates the server IP address or domain name address.
[Value range]
- An IPv4 address has the following requirements:
- The 32-bit address is evenly divided into four fields. Each 8-bit field is expressed in dotted-decimal.
- Each field of the IPv4 address must be an integer.
- The value of the first field ranges from 1 to 223 (excluding 127).
- The values of other fields range from 0 to 255.
- An IPv4 address cannot be set to a special address such as a broadcast address.
- An IPv6 address has the following requirements:
- The 128-bit address is evenly divided into eight fields. Each 16-bit field is expressed as four hexadecimal digits. The fields are separated by colons.
- In each 16-bit field, leading zeros can be omitted for simplicity. However, at least one digit must be reserved in each field.
- For further simplicity, if the IP address contains a long string of zeros, you can represent the neighboring zeros with double colons (::) in the colon-separated hexadecimal field. Each IP address contains only one double-colon (::). The double-colon (::) can also be used to represent neighboring zeros of the IP address.
- The IP address cannot be a special address such as a network address, loop address, or multicast address.
- The domain name has the following requirements:
- A domain name is case-insensitive.
- A domain name contains 1 to 255 characters.
- A domain name can contain only English 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.1.100
fc00::1234
www.test.com
File Save Path
Specifies the path where alarm information is dumped. To enable this parameter, create a path with a folder under it, and type the name of the folder in File Save Path on DeviceManager.
[Value range]
The path consists of 1 to 255 characters.
[Example]
If you set the path to G:\ and create a folder named alarm on the FTP server, type alarm in File Save Path.
- (Optional) Click Test to verify parameter values.
- If an error dialog box is displayed, at least one parameter value is incorrect. Modify the parameter and retry.
- If a success dialog box is displayed, the alarm dump parameters have been configured correctly.
- Confirm the parameter configuration for the alarm dump.
- Click Save.
The Execution Result dialog box is displayed, indicating that the operation succeeded.
- Click Close.
- Click Save.