This topic describes how to resolve the issue in which the Cloud Monitor agent fails to be automatically installed on an Alibaba Cloud host.
Procedure
Log on to the host where the Cloud Monitor agent fails to be installed as the root user.
ImportantYou can manage the Cloud Monitor agent only by using the root user account (an administrator account). However, using an administrator account may introduce certain risks, such as system stability or data security issues. 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-idYes: Go to Step 3.
No: Manually install the Cloud Monitor agent on the host. For more information, see Manage a Cloud Monitor 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.comNoteIn the command, replace
{region-id}with the region ID of the host. For example, if the region ID iscn-hangzhou, run the ping cms-agent-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com command.Yes: The network is normal. The issue may be caused by Cloud Monitor. Contact Cloud Monitor 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.