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 ...
Bundled .NET and .NET Core agents in a single MSI
In APM Insight .NET agent version 6.8.0, the .NET and .NET Core agents have been bundled into a single MSI, enabling unified monitoring of both application types. Upgrade requirements for .NET Core agent 6.7 and below If you're using .NET Core agent ...
Add Node.js agent in Kubernetes via InitContainers (using prebuilt agent image)
To integrate the APM Insight Node.js agent into your Kubernetes applications using InitContainers, follow the steps given below: Step 1: Create an empty volume that will be used to copy the agent files during the initContainers process. Example: ...
Unable to add SQL insight monitor
If the SQL Insight monitor is not getting added even after entering your credentials, try these troubleshooting steps: Ensure that the Auto-discover applications feature is enabled. If not, you will need to trigger discovery using the Discover ...