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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...