Agent Installer is in maintenance mode. Use Agent Management. |
The Agent Installer requires microservices configuration performed by |
The Agent Installer simplifies deployment to instrument your applications faster. You can manage applications instrumented by the Agent Installer with minimal code changes in Monitoring Settings.
|
You can deploy other agents using the Getting Started Wizard.
The Agent Installer works with these items:
|
The Agent Installer requires the following components, permissions, and supported environments.
Applications will not instrument properly if file directories have their permissions changed by other processes, such as configuration management tools like Ansible. |
You may need to configure your firewall rules to allow outgoing traffic to certain URLs including:
Access to your Controller:
<customername>.saas.appdyanamics.com/*
to allow APM traffic.
accounts.appdynamics.com/downloads
to download the agent binaries.To configure access and roles, you must either be the |
To use the Agent Installer, you need Install Agent account-level permission and at least one of the following:
Install Agent permission is not added to any default role.
This table lists the Agent Installer supported environments. JVM and Application Server requirements only apply if you install the Java Agent. The Agent Installer does not support Windows installations.
Agent Installer Supported Environments | |
---|---|
Operating System | Linux (64 bit). Fully tested flavors:
Other Linux operating systems and versions should work but are not certified by Windows Server (64 bit). Fully tested flavors:
|
JVM (only on Linux) |
|
Application Server (only on Linux) |
|
See Java Supported Environments and Machine Agent Requirements and Supported Environments for version compatibility.
This table lists the active agent registrations, process, and process group limitations for the Agent Installer:
Agent | Maximum Per-Account Limit |
---|---|
Active agent registrations | 1000 |
Process | Maximum Per-Account Limit |
Managed processes | 10,000 |
Unmanaged processes | 10,000 |
Managed processes in a single installation | 100 |
Unmanaged processes in a single installation | 100 |
Process Group | Maximum Per-Account Limit |
Managed process groups | 1000 |
Unmanaged process groups | 1000 |
Managed process groups in a single installation | 100 |
Unmanaged process groups in a single installation | 100 |
The Agent Installer deploys the Agent Installer Platform, which downloads monitoring agents to your machine. You can install:
Machine Agent >= 20.3.0
If you install Machine Agent on a host that doesn't have the application agent installed, then the Machine Agent works with the following: application name selected, tier name: your hostname, and node name: hostname
<zero-agent-generated-hash-string>
.
Application names cannot contain a single quotation mark ('). When you install Java JDK8+ with the Agent Installer, the OpenTelemetry resource attributes |
To use the Agent Installer to deploy an agent:
From the Specify Application to Deploy to dropdown, select an existing application, or select New application and enter its name.
See Deploy an Agent Using the Agent Installer API.
Copy and run the first command to download the latest available agents.
Select (top right corner of the second command) to copy and run the second command to install the agents. Additionally, you can select Show command to reveal the full command with your access key.
After you finish installing the agents, you are redirected to the Monitoring Settings tab to view instrumented tiers and nodes.
Your OpenTelemetry data may transit through regions different from where your Controller is hosted, if you configure your OpenTelemetry Collector using a |
Select the agents Java Agent (Legacy or JKD8+) or Machine Agent you want to install.
Copy and run the command into your terminal (on Linux) / PowerShell (on Windows) window or automated tools.
Determine how to run the Agent Installer by setting user permissions:
|
After confirming the user installation permissions, select (top right corner of the command) to copy and run the command. To reveal the full command with your access key, select Show command.
When you run the command on a designated host, the agent files download onto that host only. To install agents on multiple hosts, select Run the Agent Installer on Multiple Hosts.
Restart the application processes you want to monitor.
After you finish installing the agents, you are redirected to the Monitoring Settings tab to view instrumented tiers and nodes.
You can run the Agent Installer with or without sudo
permission.
We recommend that you use the |
This table describes the differences between sudo
and non-sudo
installations:
sudo Installation | Non-sudo Installation | |
---|---|---|
Description | Installs the agents on all supported processes for all users in your system. | Installs the agents for the current user only. |
Automatic Instrumentation Process | By default, integrates with systemd to ensure the agents always run. See Customize Agent Installer to override this behavior. | Auto-instruments processes that are started by the installing user, running under a Linux shell such as bash . |
systemd
-Managed Processes in a Non-sudo
EnvironmentTo enable the instrumentation of a systemd
-managed application process in non-sudo
Agent Installer Platform installations, the profile of the systemd
service responsible used to load the application process must define the LD_PRELOAD
environment variable using the path to the decorator library.
The actual path varies based on the operating system and product installation directory. This example shows an updated Apache Tomcat systemd
service profile on CentOS 7:
$ grep LD_PRELOAD /etc/systemd/system/apache-tomcat-7.service Environment=LD_PRELOAD=/home/centos/appdynamics/zeroagent/lib64/libpreload.so |
After the profile has been updated, you must reload the systemctl
daemon and restart the application for the changes to take effect:
$ sudo systemctl daemon-reload $ sudo systemctl restart apache-tomcat-7.service |
You can download the Agent Installer once and run on multiple hosts. To install the agent bundle across multiple hosts, distribute the binaries to all applicable machines. For example, these steps show how to move files across hosts using the tar
command.
Use the tar
command to place the script in a single file:
tar cvf zero-agent.tar * |
Copy the file to multiple hosts:
scp zero-agent.tar <target host>:<directory> |
Extract the archived script in the same directory:
tar xvf zero-agent.tar |
See Customize Agent Installer.
See Upgrade and Rollback the Agents.
See Enable Server Visibility and .NET Compatibility Mode with Agent Installer to enable Server Visibility and .NET Compatibility Mode for Machine Agent, using the configure command.
The Node name format changes starting with versions >=22.4. Upgrading to version 22.4 automatically changes the Node name for the existing environment after restart.
|
Agent Installer Version | Node Name Format | Node Name Example |
---|---|---|
<22.4 | <hostName>-<First 4 systemId><Last 4 systemId>-[hash of Tiername]-<serverName> | ubuntu_host-sefd-er43-rextderutq |
>=22.4 | <hostName>-<First 4 systemId><Last 4 systemId>-[hash of JavaUniquePath]-<serverName> | ubuntu_host-sefd-er43-texdreodrx |
For systems with the Machine Agent enabled, and not the Java Agent enabled, the Node and Tier name have the following format:
Node Name Format | Node Name Example |
---|---|
<hostName>-<First 4 agentId>-<Last 4 agentId>-[hash of agentId] | centos7_j7-4c97-d243-e77979f4d4911864 |
Tier Name Format | Tier Name Example |
---|---|
|
|
To uninstall the Agent Installer in the terminal, navigate to the directory where the Agent Installer Platform is installed, and run the command:
|