Updated on 2022-09-23 GMT+08:00

Configuring Monitoring Metric Dumping

You can configure interconnection parameters on MRS Manager to save monitoring metric data to a specified FTP server using the FTP or SFTP protocol. In this way, MRS clusters can interconnect with third-party systems. The FTP protocol does not encrypt data, which brings potential security risks. Therefore, the SFTP protocol is recommended.

MRS Manager supports the collection of all the monitoring metric data in the managed clusters. The collection period is 30 seconds, 60 seconds, or 300 seconds. The monitoring metric data is stored to different monitoring files on the FTP server by collection period. The monitoring file naming rule is in the "Cluster name_metric_Monitoring metric data collection period_File saving time.log" format.

Prerequisites

The ECS corresponding to the dump server must be in the same VPC as the Master node of the MRS cluster, and the Master node can access the IP address and specified port of the dump server. The FTP service on the dump server is running properly.

Procedure

  1. On MRS Manager, click System.
  2. In Configuration, click Configure Monitoring Metric Dump under Monitoring and Alarm.
  3. Table 1 describes dump parameters.

    Table 1 Dump parameters

    Parameter

    Description

    Mandatory

    Dump Monitoring Metric

    Whether to enable monitoring metric data interconnection.

    • : Enabled.
    • : Disabled.

    Yes

    FTP IP Address

    FTP server for storing monitoring files after monitoring metric data is interconnected.

    Yes

    FTP Port

    Port for connecting to the FTP server.

    Yes

    FTP Username

    Username for logging in to the FTP server.

    Yes

    FTP Password

    Password for logging in to the FTP server.

    Yes

    Save Path

    Path for storing monitoring files on the FTP server.

    Yes

    Dump Interval (s)

    Interval at which monitoring files are periodically stored on the FTP server, in seconds.

    Yes

    Dump Mode

    Protocol used for sending monitoring files. The options are FTP and SFTP.

    Yes

    SFTP Public Key

    Public key of the FTP server. This parameter is available only when Dump Mode is set to SFTP. You are advised to configure a public key. Otherwise, security risks may arise.

    No

  4. Click OK to complete the settings.