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.
  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. CloudMonitor may cause the issue. Contact CloudMonitor technical support by submitting a ticket.
    • No: The network is abnormal. OSS may cause the issue. Contact OSS technical support by submitting a ticket.