Related pages: |
To monitor Java applications in the Controller, you need to install the Java Agent on each server that hosts applications to be monitored. You can use the Agent Installer to streamline the deployment of the Java Agent. The Agent Installer simplifies the agent installation process.
If you downloaded the agent from the Cisco AppDynamics Downloads portal, 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 AppServerAgent.zip
file.
For example, on Linux unzip the agent to home/appdynamics
. This is the <agent_home
> directory.
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 Agent Installation by Java Framework.
When completed, you can restart your application and view data reported by the agent in the Controller UI. From there, you can install more agents or begin monitoring your application environment.
Each monitored JVM must have a unique combination of tier and node name in . Naming the components in the wizard varies between the self-service trial edition of
and the non-trial edition:
For self-service trials of Pro, the getting started wizard uses the following naming scheme to identify agents:
app_server_type
>@<hostname
>:<port
> JBoss@appserver1.example.com:8080
MyTier
MyApp
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.