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
    • Related Articles

    • How to add APM Insight Java agent without application restart?

      In general, after installing the APM Insight Java agent, you have to restart your application for the agent to capture monitoring data.   But in case of critical issues in the app, like sudden application slowness, where you haven't installed APM ...
    • Steps to troubleshoot when you get NO DATA message for Java applications.

      After adding APM Insight Java agent, if you get NO DATA message, it could be because of probable reasons like network issues or zero traffic in your application. Kindly read through the below given instructions to troubleshoot.  Reason Cause Solution ...
    • How to rename an APM Insight application?

      Site24x7 APM Insight 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 the agent associated with that instance will ...
    • How to enable or disable thread profiling in the Java agent?

      The APM Insight Java agent v5.6 is designed to enable thread profiling by default and runs every eight hours (since JVM start) for five minutes to identify and instrument the slow methods in your application. You can also disable thread profiling by ...
    • APM Insight agent log paths

      Folder path to view One agent logs One agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData from Vista onwards). Check the following folder path in Windows: C:\ProgramData\Site24x7APMOneAgent\Logs  ...