Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
Recently, I am planning to standardize our process on agent installation of AppDynamics. The current process would be to extract the zip file to a specific folder (/opt/appdynamics for Machine Agent). Once the Machine Agents are reported running, we can view the machine agent version on our Controller.
Thinking of the long term, there might be times when we need to update the agents deployed on the target hosts. Are there any ways to check the version of the machine agent deployed on the server? I'm thinking of a text file they can open to see the current version of the machine agent deployed.
Solved! Go to Solution.
For those who come (and will come) across with this question, here are the 2 things I found:
1. Inside the jar file (pretty-much like a compiled archive), you check the manifest file (MANIFEST.MF) inside /META-INF folder. Inside the manifest file contains the Machine Agent Version. Personally I do not recommend this as this is prone to editing might mangle the packaging of the JAR file and might cause the machine agent to fail. However, if you do not remove or update files inside the jar, there should be no problem.
2. Probably this is the easiest way to check Java agent, however, this involves running an executable (JAR) rather than opening a file. On the root directory of machine agent, I tried running the following command:
java -jar machineagent.jar
Which then produced the following results:
Using Java Version [1.8.0_201] for Agent
Using Agent Version [Machine Agent v20.6.0-2676 GA compatible with 188.8.131.52 Build Date 2020-06-23 08:07:30]
The second one is probably the safest way however, it involves running the agent itself. If you are tight on resources, you can press Ctrl + C right after the version shows.
I also found the analytics agent version for Machine agent. Under /monitors/analytics-agent, it is possible to see the version of the analytics agent through the version text files.
For those who have found an alternative way of checking the machine agent version, all of your inputs are welcome and can help other teams with their analysis. Thank you!