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:

Option Argument Description Usage
Troubleshoot
Runs basic troubleshooting for Java agent java -jar apminsight-javaagent.jar troubleshoot

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

-c Runs troubleshooting and creates a diagnotic zip file containing agent conf files and its logs java -jar apminsight-javaagent.jar troubleshoot -c


Note: These steps are application server independant
    • Related Articles

    • How to identify and resolve conflicts between other APM products and the APM Insight .NET agent

      Problem statement: You are experiencing either of the below issues and suspect that another APM product is interfering with the Site24x7 .NET agent. 1. The .NET monitor is not created under APM > APM Insight > Applications, even after the .NET agent ...
    • APM Insight integration for Next.js in Kubernetes

      To integrate the Site24x7 APM Insight Next.js agent into your Kubernetes application using initContainers with the prebuilt agent image, follow the steps below: Prerequisites A Next.js application container image The Site24x7 APM Insight license key ...
    • Troubleshooting false positive alerts in monitoring

      Problem False positive alerts are being generated. Possible cause The monitoring system is down in some locations. The Website monitor might be configured for one location, such as Seattle, but may appear down when accessed from another location, ...
    • Troubleshooting steps when no data is received from the SQL server

      As we use "Perfmon" to fetch data for Microsoft SQL monitoring, please check if the counters related to SQL are present in the user's perfmon. Please follow the steps below: Open the server machine in which the issue is occurring. Start -> Run and ...
    • No data for service and process in Windows server monitor

      If you see "No Data" for process and service metrics (such as CPU or memory usage of monitored services) in the Site24x7 Windows server monitor user interface, follow the troubleshooting steps below. Run PowerShell Commands Open PowerShell as ...