This topic describes how to resolve the issue in which the CloudMonitor agent fails to be automatically installed on an Alibaba Cloud Elastic Compute Service (ECS) instance.

Procedure

  1. Log on to the ECS instance where the CloudMonitor agent fails to be installed as the root user.
    Important You can manage the CloudMonitor agent only by using the root user account (an administrator account). If you use an administrator account, certain risks may occur. For example, system stability or data security issues may occur. Proceed with caution.
  2. Run the following command to check whether the region ID of the ECS instance can be obtained:

    curl http://100.100.100.200/latest/meta-data/region-id

  3. Run the following command to check whether the ECS instance can access Object Storage Service (OSS) over the network:

    ping cms-agent-${region-id}.oss-${region-id}.aliyuncs.com

    In the command, replace {region-id} with the region ID of the ECS instance. For example, if the region ID is cn-shenzhen, run the ping cms-agent-cn-shenzhen.oss-cn-shenzhen.aliyuncs.com command.

    • Yes: The network is normal. The issue may be caused by CloudMonitor. Contact CloudMonitor technical support by submitting a ticket.
    • No: The network is abnormal. The issue may be caused by OSS. Contact OSS technical support by submitting a ticket.