Troubleshoot APM Insight Java agent

What does Java agent troubleshooting operation do and what are the additional arguments that can be given?

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 plusinsight server
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 toSite24x7 support for further debugging. 

List of troubleshooting options available:

OptionArgumentDescriptionUsage
Troubleshoot
Runs basic troubleshooting for Java agentjava -jar apminsight-javaagent.jar troubleshoot

-hPrints the troubleshoot options and its descriptionsjava -jar apminsight-javaagent.jar troubleshoot -h

-cRuns troubleshooting and creates a diagnotic zip file containing agent conf files and its logsjava -jar apminsight-javaagent.jar troubleshoot -c


Note: These steps are application server independant