I've been trying to figure out a way to set a threshold based on the ratio of Catalina::ThreadPool::ajp-bio-127.0.0.1-8009::currentThreadCount divided by Catalina::ThreadPool::ajp-bio-127.0.0.1-8009::maxThreads. I have a component monitor for each, though the second one isn't really useful since it's a static number. I suggested to my supervisor (who's driving this) that we just use the static number in the Convert Value section ( ${Statistic} / 3000 ) and base the threshold off of that. While this gives us the desired result, he wants the 3000 number to be what's actually returned from the maxThreads JMX pull since we have many different environments with different MaxThreads in Tomcat. Then I'd just set the warning threshold at .95 and we could use the component globally.
Is there any way to do this???