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