• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. User Guide
  4. MRS Manager Operation Guide
  5. Monitoring Management
  6. Configuring Monitoring Metric Dumping

Configuring Monitoring Metric Dumping

Scenario

You can configure interconnection parameters on MRS Manager to save monitoring indicator 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 creates potential security risks. The SFTP protocol is recommended.

MRS Manager supports the collecting of all monitoring indicator data in managed clusters. The collection period can be 30 seconds, 60 seconds, or 300 seconds. Depending on the collection period, the data is stored in different monitoring files on the FTP server. To name a monitoring file, adhere to the following pattern: Cluster name_metric_Monitoring indicator data collection period_File saving time.log.

Prerequisites

  • The corresponding ECS of the dump server and the Master node of the MRS cluster are deployed on the same VPC.
  • The Master node can access the IP address and specific ports of the dump server.
  • The FTP service of 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

    Dump Monitoring Metric

    Mandatory.

    Specifies whether to enable the audit log export function.

    • : Enabled
    • : Disabled

    FTP IP Address

    Mandatory.

    Specifies the IP address of the FTP server for storing monitoring files after the interconnection of monitoring indicator data is enabled.

    FTP Port

    Mandatory.

    Specifies the port for connecting to the FTP server.

    FTP Username

    Mandatory.

    Specifies the username for logging in to the FTP server.

    FTP Password

    Mandatory.

    Specifies the password for logging in to the FTP server.

    Save Path

    Mandatory.

    Specifies the save path of monitoring files on the FTP server.

    Dump Interval (s)

    Mandatory.

    Specifies the interval for saving monitoring files to the FTP server, in seconds.

    Dump Mode

    Mandatory.

    Specifies the protocol used to send monitoring files. The options include FTP and SFTP.

    SFTP Public Key

    Optional.

    Specifies the public key of the FTP server. This parameter is valid after Dump Mode is set to SFTP. You are advised to set this parameter. If not, security risks may exist.

  4. Click OK. The parameters are set.