The site monitoring feature is used to simulate user access and monitor the availability, connectivity, and Domain Name System (DNS) resolution of sites. The feature allows you to monitor the connectivity and response time of domains, IP addresses, and ports and send alert notifications based on monitoring results. This topic describes how to create a site monitoring task and view the monitoring data that is generated by the site monitoring task.

Create a site monitoring task

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Network Analysis and Monitoring > Site Monitoring (Timing Dial Test).
  3. On the Monitoring Tasks tab, click Create Task.
  4. In the Task settings step of the Create Task panel, select a protocol and configure the basic information about the protocol.
    Parameter Description
    Monitor Type The protocol that is used by the site monitoring task. Valid values: HTTP(S), PING, TCP, UDP, DNS, SMTP, POP3, and FTP.
    Task Name The name of the site monitoring task. The name must be 4 to 100 characters in length, and can contain letters, digits, and underscores (_).
    IP Probe Type The type of the IP address that is used by the site monitoring task. Valid values: IPV4 and IPV6.
    Monitor Domain Name The address of the site that you want to monitor. Valid values:
    • Enter the task address manually: Enter the address of the site that you want to monitor. You can enter multiple addresses. Separate multiple addresses with line feeds. After you configure a site monitoring task, CloudMonitor generates a sub-task for each site address that you specify.
    • Import from Cloud Resolution Domain Name: Select the domain name of the site that you want to monitor from Alibaba Cloud DNS. For information about how to create a DNS domain name, see Add an A record to a website domain.
    Frequency The frequency at which the site monitoring task sends detection requests to the site that you want to monitor. Valid values: 1Minute, 5Minute, 15Minute, 30Minute, and 60Minute. For example, if you select 1Minute, a detection point in a region sends a detection request to the site that you want to monitor every minute.
    Advanced settings The advanced settings for the selected protocol. For more information about the advanced settings that are supported by different protocols, see Description.
  5. Click Next.
  6. In the Select detection point step, select the detection points that you want to use.
    Note If the default detection points cannot meet your business requirements, perform the following steps to add custom detection points.
    1. Click the Modify icon next to Custom probe point selection.
    2. Click Create Template.
    3. Enter a custom template name in the Template Name field and select custom detection points that you want to use.
    4. Click OK.
    5. Click OK.
  7. Click Next.
  8. In the Set alarm step, add alert rules and configure the advanced settings for the alert rules.
    1. Optional. Add an alert rule.
      Note CloudMonitor provides two default alert rules. If the default rules cannot meet your buiness requirements, perform the following steps to add an alert rule.
      1. Click Add Rule Description.
      2. In the panel that appears, set the parameters. The following table describes the parameters.
        Parameter Description
        Rule Name The name of the alert rule.
        Metric Name The name of the metric that is related to the alert rule. Valid values:
        • Percentage of available probe points

          Value of the Percentage of available probe points metric = Value of the Number of available probe points metric/Total number of detection requests × 100

        • Number of available probe points

          The value of this option is the number of times that the domain name or IP address of the site can be accessed as expected in a monitoring period.

        • Any Status Code (Independent Alert)
        • All status code (independent alert)
        • ResponseTime
        Comparison The comparison operator that is used in the alert rule. Valid values:
        • >=
        • >
        • <=
        • <
        • =
        • !=
        • Compare With Yesterday Rise
        • Compare With Yesterday Decline
        • Compare With Last Week Rise
        • Compare With Last Week Decline
        • Compare With Last Period Rise
        • Compare With Last Period Decline
        Threshold and Alert Level The alert level and the corresponding threshold.

        Valid values of the alert level: Critical, Warn, and Info.

        Valid values of the number of consecutive periods in which the metric value crosses the threshold before an alert is triggered: 1, 2, 3, 4, 5, 10, 15, and 20.

        Notify contact The contact group to which alert notifications are sent.
      3. Click OK.
    2. Click Advanced settings to configure the advanced settings for the alert rules.
      Parameter Description
      Mute For The interval at which CloudMonitor sends alert notifications until the alert that is triggered based on the alert rule is cleared.

      An alert is triggered when the conditions of an alert rule are met. CloudMonitor does not resend an alert notification when the alert is triggered within the mute period. If the alert is not cleared after the mute period ends, CloudMonitor resends alert notifications.

      Effective time The period during which the alert rules are effective. CloudMonitor monitors metrics and generates alerts only if the alert rules are effective.
      Alarm callback The callback URL that can be accessed over the Internet. CloudMonitor sends a POST request to push an alert to the callback URL that you specify. Only HTTP requests are supported. For more information about how to configure alert callbacks, see Use the alert callback feature to send notifications about threshold-triggered alerts.
  9. Click Finish.

View a site monitoring task

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Network Analysis and Monitoring > Site Monitoring (Timing Dial Test).
  3. On the Site Monitoring Tasks page, you can view the total number of site monitoring tasks, the number of site monitoring tasks that are triggered by the Availability Rate alert rule, and the number of site monitoring tasks that are triggered by the Response Time alert rule. You can also view the usage of the quota for the number of site monitoring tasks.
  4. On the Monitoring Tasks tab, click the name of the site monitoring task whose data you want to view, or the View icon in the Actions column of the site monitoring task.
    You can view the data of the site monitoring task on the Overview, Monitoring analysis, and Alert Rules pages.
    • On the Overview page, you can view the following charts: Monitoring overview, Alert Rule, Alert Logs, Availability response time analysis statistics (average), and Detection results 6 h.
    • On the Monitoring analysis page, you can view data that is displayed on the Overall detection mission analysis, Geographical detection analysis, Operator Detection Analysis, and Detection error analysis tabs.
    • On the Alert Rules page, you can view the alert rules of the site monitoring task. You can also modify, delete, disable, or enable the alert rules for the site monitoring task.