This topic describes how to resolve the issue in which the CloudMonitor agent fails to be automatically installed on an Alibaba Cloud host.
Procedure
Log on to the host where the CloudMonitor agent fails to be installed as the root user.
ImportantYou 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.
Run the following command to check whether the region ID of the host can be obtained:
curl http://100.100.100.200/latest/meta-data/region-id
Yes: Go to 3
No: Manually install the CloudMonitor agent on the host. For more information, see Install and uninstall the CloudMonitor agent.
Run the following command to check whether the host 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 host. For example, if the region ID iscn-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.