Updated on 2024-11-20 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.

Procedure

  1. Log in to the MAS console. On the Multi-Active Instances page, click an instance to go to its console.
  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.

    Monitoring Timeout (ms)

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

    Value range: 4000 to 400,000

    Retry Interval (ms)

    Retry Interval (ms)

    Value range: 2000 to 30,000

    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 100,000

    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.

    NOTE:

    For API monitors, only Healthy Threshold needs to be configured.