Updated on 2025-03-27 GMT+08:00

Installing ICAgent

ICAgent is the log collection tool of LTS. Install ICAgent on a host from which you want to collect logs.

If ICAgent has been installed on the host when you use other cloud services, skip the installation.

Prerequisites

Before installing ICAgent, ensure that the time and time zone of your local browser are consistent with those of the host.

Installing ICAgent

  1. Log in to the management console and choose Management & Deployment > Log Tank Service.
  2. Choose Host Management > Hosts in the navigation pane.
  3. Click Install ICAgent in the upper right corner.
  4. Set Host to Intra-Region Hosts.
  5. Set OS to Linux.
  6. Set Installation Mode to Obtain AK/SK.

    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 LTS.

    Obtain and use the AK/SK of a public account.

  7. Click Copy Command to copy the ICAgent installation command.
  8. Log in as user root to the host (for example, by using a remote login tool such as PuTTY). Run the copied command and enter the obtained AK/SK to install ICAgent.

    When message ICAgent install success is displayed, ICAgent has been installed in the /opt/oss/servicemgr/ directory of the host. You can then choose Host Management > Hosts in the navigation pane of the LTS console to check the ICAgent status.