# JMX plugin not showing hung thread information

**URL:** <https://community.dynatrace.com/t/jmx-plugin-not-showing-hung-thread-information/31464>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [May 14, 2021, 5:25am UTC](https://community.dynatrace.com/t/jmx-plugin-not-showing-hung-thread-information/31464 "2021-05-14T05:25:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [May 14, 2021, 5:25am UTC](https://community.dynatrace.com/t/jmx-plugin-not-showing-hung-thread-information/31464/1 "2021-05-14T05:25:36Z")

</div>

Hi Folks,

I trying to fetch “Hung Thread” for IBM WebSphere via JMX plugin however, it does not show up anything under process metrics.

I’m using “DeclaredThreadHungCount” metric.

 ![AK_0-1620969891434.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/9f312f2a112eadfb3e65de5be64c5b5716a2d84f.png)

Has anybody faced the similar issue? I would need a help here.

Regards,

AK

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [May 14, 2021, 1:12pm UTC](https://community.dynatrace.com/t/jmx-plugin-not-showing-hung-thread-information/31464/2 "2021-05-14T13:12:41Z")

</div>

It’s most likely that WebSphere is simply not reporting that value. You’d be able to confirm that by using another way of checking the JMX values such as Jconsole (edit: since this is PMI you may need to use another means like the WebSphere admin console itself). So this probably requires some WebSphere side configuration.

From some searching&nbsp; it looks like for hung threads like that to be detected there needs to be a thread monitor threshold defined:&nbsp;[https://www.ibm.com/docs/en/was-nd/8.5.5?topic=chdp-hung-threads-in-java-platform-enterprise-edition-applications](https://www.ibm.com/docs/en/was-nd/8.5.5?topic=chdp-hung-threads-in-java-platform-enterprise-edition-applications)

What I expect is the cause though is that per this page:&nbsp;[https://www.ibm.com/docs/en/was/8.5.5?topic=pdo-thread-pool-counters](https://www.ibm.com/docs/en/was/8.5.5?topic=pdo-thread-pool-counters)&nbsp;that metric is in the ‘MAX’ overhead category and requires you be be capturing ‘ALL’ metrics or have configured it explicitly to capture that which is not set by default. So if you want that metric to be reported by WebSphere I’d check that PMI setting but also consider the overhead it says to expect.
