You can view the resource usage of a dedicated host and configure alert rules in the CloudMonitor console. This allows you to monitor the status of a dedicated host.

Background information

CloudMonitor allows you to monitor the metrics of Alibaba Cloud services, detect the availability of services, and configure alert rules for specified metrics. This way, you can monitor the usage of your Alibaba Cloud services and the status of your services. You can also resolve alerts at the earliest opportunity to ensure the availability of your applications. For more information, see What is CloudMonitor? .

View the resource usage of a dedicated host

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Dedicated Hosts.
  3. In the top navigation bar, select a region.
  4. On the Dedicated Hosts page, click the 459 icon next to the dedicated host. You are redirected to the CloudMonitor console. dadasda
  5. View the resource usage of a dedicated host.
    You can view the monitoring data of the last 30 days. CloudMonitor monitors the computing, networking, and storage resources of a dedicated host. The following table describes the metrics.
    Resource Metric Unit Description
    Computing UserCpuUtilization % The average CPU utilization of all the ECS instances on a dedicated host
    Networking UserNetworkRxPPS pps The sum of inbound packets of all the ECS instances on a dedicated host per second
    UserNetworkTxPPS pps The sum of outbound packets of all the ECS instances on a dedicated host per second
    UserNetworkRxBandwidth bit/s The total inbound bandwidth of all the ECS instances on a dedicated host per second
    UserNetworkTxBandwidth bit/s The total outbound bandwidth of all the ECS instances on a dedicated host per second
    Storage UserDiskReadIOPS IOPS The total number of requests that read data from the disks of all the ECS instances on a dedicated host
    UserDiskWriteIOPS IOPS The total number of requests that write data to the disks of all the ECS instances on a dedicated host
    UserDiskReadBPS Byte/s The total number of bytes that are read from the disks of all the ECS instances on a dedicated host
    UserDiskWriteBPS Byte/s The total number of bytes that are written to the disks of all the ECS instances on a dedicated host

Create an alert rule for a dedicated host

You must create alert contacts and alert contact groups before you create alert rules. For more information, see Create an alert contact or alert contact group.

  1. Move the pointer over the metric for which you want to create an alert rule. Click the Create an alert rule icon in the upper-right corner.
  2. Associate an alert rule with a dedicated host.
    By default, the current dedicated host is associated with the alert rule. However, you can change the associated dedicated host.
    • To associate the alert rule with other dedicated hosts, select a region from the Region list. Then, select one or more dedicated hosts from the Dedicated Host list.
    • To associate the alert rule with all dedicated hosts, select All Resources from the Resource Range list.
  3. Configure the alert rule.
    The following table describes the parameters of a sample alert rule.
    Parameter Example Description
    Rule Name ddhxxx-cpu The alert rule monitors the average CPU usage of all the ECS instances on the dedicated host.
    Rule Description
    • UserCpuUtilization
    • 1Minute cycle
    • Continue for three cycles
    • Value
    • >=
    • 80%
    If the average CPU utilization of all the ECS instances on the dedicated host is greater than or equal to 80% for three consecutive 1-minute cycles, an alert is triggered.
    Mute For 30 minutes If the alert conditions are still met 30 minutes after the first alert, another alert notification is sent.
    Effective Period 19:00 to 20:59 Specifies whether to trigger alerts only between 19:00 and 20:59.
  4. Configure a notification method.
    1. Select a contact group from the Contact Group list. Click Move. The selected contact group is displayed in the Selected Groups list.
    2. Select an alert level.
      The alert level determines the notification method. The following three alert levels are supported:
      • Critical. If a critical alert occurs, a notification is sent to specified recipients by using a voice call, text message, DingTalk message, and an email.
      • Warning. If a warning alert occurs, a notification is sent to specified recipients by using a text message, DingTalk message, and an email.
      • Info. If an info alert occurs, a notification is sent to specified recipients by using an email and a DingTalk message.
    3. Set other optional parameters.
      The following parameters are optional:
      • Auto Scaling: Specify a scaling rule that is automatically executed when an alert is triggered.
      • Log Service: Specify a region, project, and Logstore. If an alert is triggered, the alert information is written to the Logstore.
      • Email Subject: The default email subject is Product Name + Metric Name + Instance ID.
      • Email Remark: Enter the email description.
      • HTTP CallBack: Enter a URL that is accessible from the Internet. CloudMonitor sends HTTP POST requests to push alert messages to this URL.

      For more information, see Create an alert rule.