Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

(New) Installing UniAgents

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

UniAgents centrally manage the life cycle of collection plug-ins and deliver instructions (such as script delivery and execution). UniAgents do not collect data themselves. O&M data is collected by collection plug-ins. You can install collection plug-ins through the access center and create collection tasks to collect metrics.

AOM allows you to install UniAgents on ECSs or other servers in or outside the current region.
  • Current region: Install UniAgents on the hosts in the region where the AOM console is located.
  • Outside current region: Install UniAgents on the hosts outside the region where the AOM console is located. For example, the hosts of self-built Internet Data Centers (IDCs), of third-party cloud vendors, or in the other regions of Huawei Cloud.

Constraints

  • For details about the Linux and Windows OSs supported by the UniAgent, see Collection Management Restrictions.
  • To switch from the old UniAgent page to the new one, choose Settings > Collection Settings > UniAgent Installation and Configuration in the navigation tree on the left and click Go to New Version in the upper right corner. To go to the old UniAgent page, click Back to old version in the upper right corner of the UniAgent Installation and Configuration page.

Installation Methods

AOM allows you to install UniAgents on hosts in CLI mode.

Table 1 Installation mode

Mode

Scenario

CLI

Suitable for initial installation and single-node installation scenarios. Use a remote login tool, such as PuTTY, to log in to the host where the UniAgent is to be installed and manually run the installation command. For details, see:

Installing UniAgent by Running Command (in Current Region)

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Settings > Collection Settings > UniAgent Installation and Configuration, and click Go to New Version in the upper right corner.
  3. On the displayed page, click Install UniAgent.
  4. On the Install UniAgent page, set parameters to install a UniAgent.

    Figure 1 Installing a UniAgent
    Table 2 Installation parameters

    Parameter

    Description

    Example

    Server Region

    Select the region where the target cloud server is located. Options:

    • Current region: The network between AOM and the server in the current region is connected by default.
    • Outside current region: The cloud server is in a different region from AOM. Select a network connection solution based on site requirements.

    Current region

    Server Type

    Options:
    • ECSs: hosts managed by the ECS service.
    • Other servers: other hosts.

    ECSs

    Installation Mode

    Option: CLI.

    You need to remotely log in to the server to run the installation command provided on the console.

    CLI

    OS

    Option: Linux.

    Linux

    UniAgent Version

    Select a UniAgent version. The latest version is selected by default.

    Latest Version

    Copy and Run Installation Command

    1. Click Copy to copy the installation command.
      set +o history;
      curl -k -X GET -m 20 --retry 1 --retry-delay 10 -o /tmp/install_uniagent https://aom-uniagent-***************.com/install_uniagent.sh;bash /tmp/install_uniagent -p ************************* -y ***********************************
      set -o history;
    2. Use a remote login tool, such as PuTTY, to log in to the server and run the copied installation command as user root.

    Copy and run the installation (Linux) command.

  5. Check the UniAgent status in the UniAgent list.

Installing UniAgent by Running Command (Outside Current Region)

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Settings > Collection Settings > UniAgent Installation and Configuration, and click Go to New Version in the upper right corner.
  3. On the displayed page, click Install UniAgent.
  4. On the Install UniAgent page, set parameters to install a UniAgent.

    Figure 2 Installing a UniAgent
    Table 3 Installation parameters

    Parameter

    Description

    Example

    Server Region

    Select the region where the target cloud server is located. Options:

    • Current region: The network between AOM and the server in the current region is connected by default.
    • Outside current region: The cloud server is in a different region from AOM. Select a network connection solution based on site requirements.

    Outside current region

    OS

    Option: Linux.

    Linux

    Network

    Option: Internet.

    After a server outside the current region is connected to Internet, it can communicate with AOM.

    Internet

    Copy and Run Installation Command

    1. Click Copy to copy the installation command.
      set +o history;
      curl -k -X GET -m 20 --retry 1 --retry-delay 10 -o /tmp/install_uniagent https://aom-uniagent-************.com/install_uniagent.sh;bash /tmp/install_uniagent -o public -p ************************* -y ************************************
    2. Use a remote login tool, such as PuTTY, to log in to the server and run the copied installation command as user root.

    Copy and run the installation (Linux) command.

  5. Check the UniAgent status in the UniAgent list.

Checking the UniAgent Status

On the UniAgent Installation and Configuration page, check the UniAgent status of the target host. For details, see Table 4.

Table 4 UniAgent statuses

Status

Description

Running

The UniAgent is working.

Abnormal

The UniAgent is not working. Contact technical support.

Installing

The UniAgent is being installed. The installation takes about 1 minute to complete.

Installation failed

The UniAgent fails to be installed. Uninstall the UniAgent and then reinstall it. If the installation still fails, contact technical support.

Not installed

The UniAgent has not been installed on the host. For a host where the UniAgent is uninstalled but it is not deleted, the UniAgent is in the Not installed state. You can reinstall the UniAgent or delete the host from the list.

After the UniAgent is installed on the host, ports 39338 and 39339 will be enabled to query log levels and collection tasks.

Other Operations

If needed, perform the following operations on the host where the UniAgent has been installed.

Table 5 Related operations

Operation

Description

Searching for a host

In the search box above the host list, search for a host by host ID, name, or status.

Refreshing the host list

Click in the upper right corner of the host list to refresh the list.

Customizing columns to display

Click in the upper right corner of the host list to select the columns to display.

Sorting hosts

In the table header of the host list, click in each column to sort hosts. indicates the default order, indicates the ascending order, and indicates the descending order.

Troubleshooting

If you encounter any problem when installing the UniAgent, see Collection Management FAQs.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback