How to troubleshoot java agent installation or configuration?

How to troubleshoot java agent installation or configuration?

Troubleshooting operation will perform the below mentioned checks:

  • Checks whether agent directory has read/write operations

  • Checks whether apminsight.conf has license key mentioned

  • Checks whether agent state, unmanaged, deleted or managed

  • Checks network connectivity between application server and Appmanager server

Navigate to agent installed directory and execute the below command


java -jar apminsight-javaagent.jar troubleshoot -c
      
If Create Diagnostics option is chosen, it zips the conf files, info file & all the logs in the agent directory, which can then be sent to appmanager-support@manageengine.com
for further debugging.



List of troubleshooting options available:

 

Option
Argument
Description
Usage
Troubleshoot

Runs basic troubleshooting for java agent
java -jar apminsight-javaagent.jar troubleshoot

-h
Prints the troubleshoot options and its description
java -jar apminsight-javaagent.jar troubleshoot -h

-c
Runs troubleshooting and creates a diagnostic zip file containing agent conf files and its logs
java -jar apminsight-javaagent.jar troubleshoot -c
Note: These troubleshooting steps are independent of the application server used


                  New to ADSelfService Plus?

                    • Related Articles

                    • APM Insight Java Agent – Onboarding & Troubleshooting Guide

                      This guide helps support engineers troubleshoot cases where the APM Insight Java Agent is not onboarding (not appearing in Applications Manager) after installation. Follow the step-by-step verification checklist in Section 2 to quickly diagnose and ...
                    • APMInsight Guided-Installation Troubleshooting Steps

                      Steps to troubleshoot errors while executing the Guided-Installation command: (Applicable for APM v172100 & above) Prerequisite: Connectivity: Ensure that a connection between the Applications Manager server and the application server is established. ...
                    • Adding APM Insight Java agent in a Kubernetes environment

                      There are three methods for installing the APM Insight Java agent in a Kubernetes environment: Using Dockerfile Using InitContainers Using Persistent Volumes Prerequisites Download the latest APM Insight Java agent ZIP file. Extract the ZIP file and ...
                    • How to troubleshoot Python agent installation or configuration

                      How to troubleshoot Python agent installation or configuration? Python Agent Check : Ensure that you have included the Python code snippet or are starting the application using Python as required. If not, refer to step 4 in this link. Make sure that ...
                    • How to rename an existing APM - Java agent application's monitor?

                      In Applications Manager's APM(Application Performance Monitoring) doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the `apminsight.conf` file and ...