Similar to WebLogic Thread Pool Hogging Thread Rule & Request Incomplete Invocation percent Rule,Would it be possible to get an alert for Weblogic Stuck Thread?
Also, Stuck thread is not available in the JVM.
There was a weblogic bug in 9.x where stuckThreadCount was always zero.
CR272650. Because of this, it had been excluded in the config file and it is not collected by the agent.
From WL 10.0 release notes,
weblogic had fixed that issue. https://docs.oracle.com/cd/E11035_01/wls100/issues/known_resolved.html
But this has not included back in the config.
Navigate to Application Server Administration | Java Administration
Go to Advanced Configuration
Ensure proper Agent Version is selected.
Click Edit on
a) collector/weblogic-9.config
and
b) collector/weblogic-9.xform
In both those files, search for StuckThreadCount, and copy that line outside of the switch statement.
In the xform file, there are two occurrences, change both of them.
Save the config – no application server restart is required if change done on the FMS.
Then you’d see that metric in the data browser.
Appropriate rule can be created for that metric.