To monitor Java applications in the Controller, you need to install the AppDynamics Java Agent on each server that hosts applications to be monitored.
The following steps provide an overview of how to install the Java Agent using the Agent Download Wizard in the Controller. If you downloaded the agent from the AppDynamics Downloads Center, see Install the Java Agent.
To install the agent using the Agent Download Wizard in the Controller UI:
Follow the steps in the wizard to configure and download the agent. The agent guides you through some preliminary configuration steps.
As an administrator on the machine running your Java application, unzip the
For example, on Linux unzip the agent to
home/appdynamics. This is the <
unzip AppServerAgent.zip -d /opt/appdynamics/appagent
Add the Java Agent binary to the application process, typically by passing the agent JAR file as a startup argument to the application. For information by framework and application type, see the following pages:
When done, you are ready to restart your application and view data reported by the agent in the Controller UI. From there, you can install more agents or you can begin monitoring your application environment.
Each monitored JVM must have a unique combination of tier and node name in AppDynamics. Naming the components in the wizard varies between the self-service trial edition of AppDynamics and the non-trial edition:
For self-service trials of AppDynamics Pro, the getting started wizard uses the following naming scheme to identify agents:
The port number in the node name ensures that each node has a unique name if there is more than one app server on the same machine.
If the application server listens on multiple ports, the node name uses the lowest of the port numbers. Notice that the lowest port number may not be the primary port for the host. For instance, if a server listens for client requests at 8080 but listens for shutdown requests on port 8005, the node will be named with the 8005 port.
The Controller identifies distinct tiers based on traffic flow between nodes. All tiers belong to a single business application, MyApp.