Based on local service availability monitoring, CloudMonitor helps you locate issues when a local service has no response. CloudMonitor can send an alert notification to you if the local service does not respond within a specified timeout period or returns an error status code.


An application group is created. For more information, see Create an application group.


  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application grouping tab of the Application Groups page, click the name or ID of the target application group.
  4. In the left-side navigation pane of the page that appears, click Availability Monitoring.
  5. On the Availability Monitoring page, click Create Configuration.
  6. In the CreateAvailability Monitoring dialog box, set relevant parameters.
    Parameter Description
    Task Name The name of the availability monitoring task.
    Target Server The ID of the instance to be monitored.
    Detection Target The target to be monitored. Valid values:
    • URL or IP address
    • ApsaraDB for RDS
    • KVStore for Redis
    Detection Type The method used to monitor the target. This parameter is required if you set the Detection Target parameter to URL or IP address. Valid values:
    • HTTP(S): Enter the URL to be monitored, in the format of localhost:port/path, and set the Request Method parameter to HEAD, GET, or POST.
    • TELNET: Enter the IP address to be monitored, in the format of
    • PING: Enter the IP address to be monitored.

    For example, to test whether Apache Tomcat responds normally, select HTTP(S) and enter localhost:8080/monitor. To test the connectivity of MySQL, select TELNET and enter

    Status Code

    The alert trigger condition for the status code. CloudMonitor generates an alert if the status code that is returned by the local service meets the alert trigger condition.

    CloudMonitor generates an alert and sends an alert notification to the alert groups of the application group when either the status code or response time meets the specified alert trigger condition.

    Note To monitor the availability of a local service, set the status code to 400 and the operator to greater than.
    Response Time

    The alert trigger condition for the response time. CloudMonitor generates an alert if the response time of the local service meets the alert trigger condition.

    Notification Method The method used to send alert notifications.
    HTTP CallBack The callback URL to which a request is sent when an alert is triggered based on the alert rule.
    Effective Time The interval of re-sending the notification for an alert before the alert is cleared.
    Effective From The time period during which the alert rule is effective. CloudMonitor only sends alert notifications within the effective period and records alerts if the alerts are generated before or after the effective period.
  7. Click OK.