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!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

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 ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...