cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configuration of java hung thread

manish_bachu
Participant

How can i configure the alert for the java hung thread in DT? I dont see any option in custom alert as well.


7 REPLIES 7

pahofmann
DynaMight Leader
DynaMight Leader

Per default there is no metric for hung threads.

But uou could add a "hung threads" metric via a JMX Plugin.


Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

thanks patrick.

While uploading the pulgin under custon plugin, i hope we have to select "One Agent Plugin" right not the "Activegate plugin"


Correct it is a OneAgent Plugin


Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Hello @Patrick H. @Julius L. @Sebastian K.

I added the following JMX metrics, and since that time, I can see that there is a constant number 6 for all of them.

Do you think that I did some mistakes while adding metrics?

Regards,

Babar

Can you check the values using jconsole or jmxterm?

TEMPEST a.s., Slovakia, Dynatrace Master Partner

mat_cat_adn
Advisor

Hello,

There's no such metric in DT.

You can create an alert based on Websphere Log.

You could have this kind of error :

WSVR0605W:
Thread “WebContainer : 1” has been active for 612,000 milliseconds and
may be hung. There are 3 threads in total in the server that may be
hung.


Regards,

Mathieu


manish_bachu
Participant

Hello,

But i dont see metric to create a alert for hung thread.

Regards,

Manish Bachu