You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
Integration guide
Server Agent integration
Copy page
Download PDF
Server Agent integration
Server Agent running in container clusters or on hosts is primarily used for data collection and supports receiving and forwarding data reported by applications on these clusters or hosts. This topic describes how to integrate the Server Agent into a container cluster or host.​
Scenario 1: Integrate Server Agent into a Kubernetes cluster​
​
Method 1 (recommended): By installing the add-on in VKE
Method 2: By creating a YAML file in VKE
Method 3: By using the kubectl CLI
​
  1. Log in to the VKE console. In the left navigation pane, click Cluster. ​
  1. Click the name of the target cluster to go to the cluster management page.​
  1. In the left navigation pane, click Add-ons. Find the apmplus-server-agent add-on and click Deployment on the add-on card.​
tip​
To uninstall the apmplus-server-agent add-on, go to the add-on card and click ... Uninstall.​
​
​
Scenario 2: Integrate Server Agent into a host​
  1. Log in to the host. For this example, a Volcano Engine ECS instance is used. For the login method, see Logging in to a Linux instance.​
  1. Replace the variables in the following command with your actual information. Then run the command on the host to install the Server Agent.​
  • To install it via the public network, run the following command:​
​
bash -c "$(curl -L 'https://apmplus-dl-{region}.volces.com/server_warehouse/generate_assets/download/apmplus-agent-ecs/install.sh?appkey={appkey}&network=public')"​
​
  • To install it via the private network, run the following command:​
​
bash -c "$(curl -L 'http://apmplus-dl-{region}.ivolces.com/server_warehouse/generate_assets/download/apmplus-agent-ecs/install.sh?appkey={appkey}&network=private')"​
​
​
Variable​
Description​
{region}​
The region ID, for example, cn-beijing. For a list of currently supported regions, see Server-launching regions.​
{appkey}​
Authentication information for Server-side Monitoring. For details on how to obtain it, see How do I obtain the AppKey for Server-side Monitoring authentication?​
​
After the Server Agent is installed, the following directories and files are automatically created on the host:​
  • /var/log/apminsight: Runtime logs.​
  • /etc/apminsight.v1: Configuration file.​
  • /opt/apminsight: Binary files.​
  • /lib/systemd/system/apminsight-agent.service: Core probe process.​
  • /lib/systemd/system/apminsight-system-probe.service: system-probe. It monitors network and process exits.​
To uninstall the Server Agent, add the -- uninstall parameter to the installation command.​
  • To uninstall it via the public network, run the following command:​
  • ​
    bash -c "$(curl -L 'https://apmplus-dl-{region}.volces.com/server_warehouse/generate_assets/download/apmplus-agent-ecs/install.sh?appkey={appkey}&network=public')" -- uninstall​
    ​
  • To uninstall it via the private network, run the following command:​
  • ​
    bash -c "$(curl -L 'http://apmplus-dl-{region}.ivolces.com/server_warehouse/generate_assets/download/apmplus-agent-ecs/install.sh?appkey={appkey}&network=private')" -- uninstall​
    ​
  1. Run the following command on the host to start the Server Agent.​
​
sudo systemctl start apminsight-agent ​
sudo systemctl start apminsight-system-probe ​
​
​
​
Last updated: 2026.09.20 10:55:53