Install CloudMonitor agent on Linux

Frequently used commands

# Running status
/usr/local/cloudmonitor/wrapper/bin/ status

# Start
/usr/local/cloudmonitor/wrapper/bin/ start

# Stop
/usr/local/cloudmonitor/wrapper/bin/ stop

# Restart
/usr/local/cloudmonitor/wrapper/bin/ restart

# Uninstall
/usr/local/cloudmonitor/wrapper/bin/ remove && \
rm -rf /usr/local/cloudmonitor

Installation command 

Copy the following command and then run it on the server as the root user:

North China 1 Qingdao cn-qingdao

REGION_ID=cn-qingdao VERSION=1.3.2 \
bash -c "$(curl"

North China 2 Beijing cn-beijing

REGION_ID=cn-beijing VERSION=1.3.2 \
bash -c "$(curl"

North China 3 Zhangjiakou cn-zhangjiakou

REGION_ID=cn-zhangjiakou VERSION=1.3.2 \
bash -c "$(curl"

North China 5 Hohhot cn-huhehaote

REGION_ID=cn-huhehaote VERSION=1.3.2 \
bash -c "$(curl"

East China 1 Hangzhou cn-hangzhou

REGION_ID=cn-hangzhou VERSION=1.3.2 \
bash -c "$(curl"

East China 2 Shanghai cn-shanghai

REGION_ID=cn-shanghai VERSION=1.3.2 \
bash -c "$(curl"

South China 1 Shenzhen cn-shenzhen

REGION_ID=cn-shenzhen VERSION=1.3.2 \
bash -c "$(curl"

Hong Kong Hong Kong cn-hongkong

REGION_ID=cn-hongkong VERSION=1.3.2 \
bash -c "$(curl"

West US 1 Silicon Valley us-west-1

REGION_ID=us-west-1 VERSION=1.3.2 \
bash -c "$(curl"

East US 1 Virginia us-east-1

REGION_ID=us-east-1 VERSION=1.3.2 \
bash -c "$(curl"

Asia Pacific Southeast 1 Singapore ap-southeast-1

REGION_ID=ap-southeast-1 VERSION=1.3.2 \
bash -c "$(curl"

Asia Pacific Southeast 2 Sydney ap-southeast-2

REGION_ID=ap-southeast-2 VERSION=1.3.2 \
bash -c "$(curl"

Asia Pacific Southeast 3 Kuala Lumpur ap-southeast-3

REGION_ID=ap-southeast-3 VERSION=1.3.2 \
bash -c "$(curl"

Asia Pacific Southeast 5 Jakarta ap-southeast-5

REGION_ID=ap-southeast-5 VERSION=1.3.2 \
bash -c "$(curl"

Asia Pacific Northeast 1 Tokyo ap-northeast-1

REGION_ID=ap-northeast-1 VERSION=1.3.2 \
bash -c "$(curl"

Asia Pacific South 1 Mumbai ap-south-1

REGION_ID=ap-south-1 VERSION=1.3.2 \
bash -c "$(curl"

Central Europe 1 Frankfurt eu-central-1

REGION_ID=eu-central-1 VERSION=1.3.2 \
bash -c "$(curl""

Eastern Middle East Dubai me-east-1

REGION_ID=me-east-1 VERSION=1.3.2 \
bash -c "$(curl"

East China 1 Finance Cloud Hangzhou cn-hangzhou

REGION_ID=cn-hangzhou VERSION=1.3.2 \
bash -c "$(curl"

East China 2 Finance Cloud Shanghai cn-shanghai-finance-1

REGION_ID=cn-shanghai-finance-1 VERSION=1.3.2 \
bash -c "$(curl"

South China 1 Finance Cloud Shenzhen cn-shenzen-finance-1

REGION_ID=cn-shenzhen-finance-1 VERSION=1.3.2 \
bash -c "$(curl"

Install CloudMonitor agent on Windows

Installation procedure

  1. Download 64-bit version Agent or 32-bit version Agent.
  2. Create a folder and name it cloudmonitor in the path C:/Program Files/Alibaba.
  3. Decompress the package to C:/Program Files/Alibaba/cloudmonitor.
  4. Double-click C:/Program Files/Alibaba/cloudmonitor/wrapper/bin/InstallApp-NT.bat to install CloudMonitor as the administrator.
  5. Double-click C:/Program Files/Alibaba/cloudmonitor/wrapper/bin/StartApp-NT.bat to start CloudMonitor as the administrator.
  6. After the installation is complete, you can view, start, and stop the CloudMonitor application from the service panel of Windows.

Uninstall procedure

  1. Stop the CloudMonitor application from the service panel of Windows.
  2. Run C:/Program Files/Alibaba/cloudmonitor/wrapper/bin/UninstallApp-NT.bat to delete the CloudMonitor application as the administrator.
  3. In the installation directory, delete the entire directory C:/Program Files/Alibaba/cloudmonitor.

Download with no public network

If there is no public network, you can download the package from the Intranet. For example, the download address of Qingdao 64-bit installation package is:

  • For the download address of another region, change "cn-qingdao" both in the preceding example.
  • For the download address of Windows 32-bit version, change "windows64" both to "windows32" in the preceding example.
  • For the download address of another version, change "1.3.2" both in the preceding example.

Region list

Region name Region description City
North China 1 cn-qingdao Qingdao
North China 2 cn-beijing Beijing
North China 3 cn-zhangjiakou Zhangjiakou
North China 5 cn-huhehaote Hohhot
East China 1 cn-hangzhou Hangzhou
East China 2 cn-shanghai Shanghai
South China 1 cn-shenzhen Shenzhen
China (Hong Kong) cn-hongkong China (Hong Kong)
West US 1 us-west-1 Silicon Valley
East US 1 us-east-1 Virginia
Asia Pacific Southeast 1 ap-southeast-1 Singapore
Asia Pacific Southeast 2 ap-southeast-2  Sydney
Asia Pacific Southeast 3 ap-southeast-3 Kuala Lumpur
Asia Pacific Southeast 5 ap-southeast-5 Jakarta
Asia Pacific Northeast 1 ap-northeast-1  Japan
Asia Pacific South 1  ap-south-1 Mumbai
Central Europe 1 eu-central-1 Frankfurt 
Eastern Middle East 1 me-east-1  Dubai
East China 1 Finance Cloud cn-hangzhou Hangzhou
East China 2 Finance Cloud cn-shanghai-finance-1 Shanghai
South China 1 Finance Cloud cn-shenzhen-finance-1 Shenzhen

Security configuration instructions

The following table lists the ports that the CloudMonitor agent uses to interact with the server. If these ports are disabled by the security software, monitoring data may fail to be collected. If your ECS server requires a higher level of security, you can add the following IP addresses to the white list.

Future updates and maintenance of the CloudMonitor version may add more IP addresses or change the IP addresses. To simplify the configuration of the firewall rules, you can directly allow the outbound direction of the 100.100 network segment, which is reserved for the intranet of Alibaba Cloud and used to provide official Alibaba Cloud services, with no security issues in general.
Port IP address Direction Description
32000 Inbound, outbound Bound to, used for CloudMonitor agent process Daemon
3128, 8080 cn-hangzhou100.100.18.22 cn-beijing100.100.36.102 cn-qingdao100.100.0.13 cn-shenzhen100.100.35.4 cn-hongkong100.100.38.1 us-west-1100.100.38.1 us-east-1100.100.30.20 ap-southeast-1100.100.36.11 cn-shanghai100.100.80.184 ap-northeast-1100.100.80.241 eu-central-1100.100.80.142 me-east-1100.100.80.92 ap-southeast-2100.100.80.92 cn-zhangjiakou100.100.80.153 ap-southeast-3100.100.80.135 cn-huhehaote100.100.80.152 ap-south-1100.100.80.160 ap-southeast-5100.100.80.229 cn-chengdu Outbound Used for agent upgrade, monitoring configuration management, and other management and control operations
80 cn-zhangjiakou100.100.36.6 cn-shanghai100.100.38.3 us-east-1100.100.29.7 us-west-1100.100.35.11 cn-hongkong100.100.80.137 ap-northeast-1100.100.80.72 eu-central-1100.100.0.31 cn-shenzhen100.100.18.50 cn-beijing100.100.45.73 cn-hangzhou100.100.15.23 cn-qingdao100.100.80.151 me-east-1100.100.80.13 ap-southeast-2100.100.103.7 ap-southeast-1100.100.80.140 ap-southeast-3100.100.80.12 cn-huhehaote100.100.80.66 ap-south-1100.100.80.180 ap-southeast-5100.100.80.14 cn-chengdu Outbound Used to collect monitoring data to the CloudMonitor server

Resource consumption

  • Installation package size: 75 M
  • Space occupied after installation: 200 M
  • Memory: 64 M
  • CPU: less than 1%
  • Network: Intranet, with no public network bandwidth consumption


  • CloudMonitor log location
    • Linux: /usr/local/cloudmonitor/logs
    • Windows: C:/Program Files/Alibaba/cloudmonitor/logs
  • What should I do if there is a conflict between the port occupied by the agent and the port used by my service?
    1. Change the port range by modifying the CloudMonitor configuration, with the file location: /usr/local/cloudmonitor/wrapper/conf/wrapper.conf
    2. Restart CloudMonitor