Updated on 2025-07-23 GMT+08:00

Configuring Monitors

This section describes how to configure parameters for all monitors under an instance.

Note that these configurations will not change the Advanced settings configured in monitor creation.

Constraints

For API monitors, only Healthy Threshold and Retry Interval (ms) need to be configured.

Procedure

  1. Log in to the MAS console. On the Multi-Active Instances page, click an instance whose namespace type is Intra-city multi-active.
  2. Click the Monitor List tab and click Configure Monitoring.
  3. Configure the parameters and click OK. You are advised to retain the default settings.

    Table 1 Monitoring configurations

    Parameter

    Description

    Monitor Type

    The type of the monitor to be configured. Only monitors created under the instance are displayed.

    Retry Interval (ms)

    Retry Interval (ms)

    Value range: 1000 to 300000

    Database Access Timeout (ms)

    This is required only for MySQL, Oracle, PostgreSQL, and MongoDB monitors.

    The database access timeout duration, over which the database access is considered failed.

    Value range: 3000 to 100000

    Monitoring Timeout (ms)

    The timeout duration before a monitor becomes abnormal, in milliseconds.

    Value range: 12000 to 1200000

    Healthy Threshold

    How many workers are required to confirm the database health. For example, 1 indicates that as long as one worker in the monitoring cluster detects the database, the detection is considered successful. If the detection fails, the leader will handle the fault.

    Enter 1 or 2.