Updated on 2024-04-15 GMT+08:00

Installing an ICAgent

This section describes how to install an ICAgent on an ECS.

Prerequisites

  • An ECS has been created.
  • An EIP has been bound to the ECS.
  • The browser time is the same as the ECS time.

Procedure

  1. Obtain and use the AK/SK of a public account. Do not use the AK/SK of a personal account.

    Ensure that the public account and AK/SK will not be deleted or disabled. If the AK/SK is deleted, the ICAgent cannot report data to AOM or LTS.

    • If you have obtained the AK/SK, skip this step.
    • If you do not have an AK/SK, obtain them first.

  2. On the menu bar, choose Collection Management. The Agent Management page is displayed.
  3. Select Other: custom hosts from the drop-down list on the right of the page and click Install ICAgent.
  4. Click Copy Command.
  5. Use a remote login tool, such as PuTTY, to log in as the root user to the server where the ICAgent is to be installed, run the command copied in 4, and enter the AK/SK obtained in 1as prompted to install the ICAgent.

    • If the message ICAgent install success is displayed, the ICAgent is successfully installed in the /opt/oss/servicemgr/ directory. After the ICAgent is successfully installed, choose Other: custom hosts on the Agent Management page to view the ICAgent status of the ECS.
    • If the ICAgent fails to be installed, uninstall it according to Uninstalling the ICAgent Through Logging In to the Server and then install it again. If the problem persists, contact technical support.