PART 1 Install of Saas based Appdynamics client on Linux for app server agent
Architecture
AppDynamics
AppDynamics is a full-stack application performance management (APM) and IT operations analytics (ITOA) company based in San Francisco. The company focuses on managing the performance and availability of applications across cloud computing environments, IT infrastructure, network architecture, digital user experience design, application security threat detection, observability, and data centers.
SaaS
- AppDynamics itself stores the data and hosts the server components of the system in the cloud
- Need to install only the agent components
Prerequisites
*JDK version 1.6 or the latest is required to run this agent.
Steps to configure App agent
1. Download the zip file from the Appdynamice Dashboard
Click on Getting started wizard
Select your application type
Enter the details in my scenario it was java
Click on Download the Agent Installer jar file
2. Unzip the agent file on the app server
unzip Appd.zip
3. Configure controller-info.xml file-
Path- /agent/version 4.2/conf/controller-info.xml
For Example
for controller-info.xml that needs to be modified as per the account -
<controller-info>
<controllerhost>https://sample.saas.appdynamics.com/controller/
</controller-host>
<controller-port>443</controller-port>
<application-name>PROD</application-name>
<tier-name>SAMPLE</tier-name>
<node-name>MY_SAMPLE_APP</node-name>
<account-name>customer1</account-name>
<account-access-key>customer_-XXXXXXXXf1</account-access-key>
</controller-info>
cat /agent/version 4.2/conf/controller-info.xml
Sample file
5. Add the Java Agent as a java agent Argument to the JVM
Add the Java Agent binary to the monitored process by adding a java agent argument with the location of the Java Agent JAR file to the start-up script of the JVM:
-javaagent:<agent_home>/javaagent.jar
Adding the java agent to the startup script requires a restart of the JVM.
Note:
Always the javaaganet will come before the jar show as the sample file below.
6. Reload the daemon and then restart the service
Command to reload the daemon
systemctl daemon-reload
Command to restart the service
systemctl restart test.service
7. Check the logs
tail -f /agent/version 4.2/logs/SAMPLE-IRNA1234/agent.log
Also, check the log with these details to validate
vim /agent/version 4.2/logs/SAMPLE-IRNA1234/agent.log
#Search for these keywords in the above log file
Started AppDynamics Java Agent Successfully.
Auto agent registration SUCCEEDED!
Full certificate chain validation
8. Log in to the app-dynamics console
Connect made successfully
you can see the metrics now.
Hurray !!! ๐