Splunk AppDynamics

How can I generate a JavaCore dump on WebSphere Application Server ( kill -3 <PID.) using actions

Ashley_Lewis1
Explorer

Hi,

We would like to generate a JavaCore which is similar to Thread Dumps on our WebSphere Application Servers (v8.5.5) running with the IBM JVM. I have implemented the available action of a Thread Dump to be fired if any hung threads are detected. However, the thread dump that is being captured does not have the complete information that we're looking for ( Stack Trace and full JVM related information)

The usual way the admins generate this information is by running the kill -3 <PID> command against the JVM process ID.

Is it possible to implement the same using the AppDynamics Thread Dump action?

Kind Regards,

Ashley Lewis

Labels (1)
0 Karma

Nawaz_Ali_Moha1
Contributor

Hello Ashley,

You may want to first create a Health Rule to detect the hung threads.

Then you may want to create a custom action where you can create a script to trigger the Java Core .
Follow the documentation
 https://docs.appdynamics.com/display/PRO45/Build+a+Custom+Action

https://docs.appdynamics.com/display/PRO45/Remediation+Actions

Now you may want to create a policy where you can add the HR created in Health Rule Scope and use the Custom Action in Actions.

0 Karma
Get Updates on the Splunk Community!

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...