Page 1 of 1
Active thread pool Count,Poolsize Monitoring
Posted: Thu Jun 15, 2017 9:25 pm
by admingirl
Hello,
I need advise from you guys as you have always been so helpful.
We are monitoring Active thread pool Count and Poolsize in our WebSphere Application Servers. We have a requirement that if Active Count=Poolsize then it will be a Warning Alert.
How can I define it in my configuration?
Please advise.
Thanks and have a great day!
Ann
Re: Active thread pool Count,Poolsize Monitoring
Posted: Thu Jun 15, 2017 10:35 pm
by mcapra
A relatively concise github post on the general topic of "How can I monitor my applications on $javaAppServer":
https://github.com/nagios-plugins/nagio ... -302832881
The gist of it is you should enable JMX on a per-application basis. There's a few WebSphere agents out there that make local JConsole connections and have corresponding plugins that can be called via a Nagios agent like
NRPE or
NCPA to access a specific application hosted on the server,
buuuuuut they're old and often die out. A lot. I tend to tell people to enable JMX in their applications directly. If you're not sure how to do that, you might want to consult with your application team.
Then, once JMX is enabled for the applications you want to monitor JVM metrics for, this documentation should be useful:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Though for this particular criteria:
if Active Count=Poolsize then it will be a Warning Alert
I don't think the
check_jmx plugin mentioned in the above documentation can do that. I believe the thresholds are absolute and can't reference other beans. So stuff like
if ThreadCount > 10 is kosher, but probably not stuff like
if BeanA > BeanB. But if the pool size is static, that should be fine since you could plug that value in for the warning/critical parameter.
Re: Active thread pool Count,Poolsize Monitoring
Posted: Fri Jun 16, 2017 11:05 am
by dwhitfield
Re: Active thread pool Count,Poolsize Monitoring
Posted: Sun Jun 18, 2017 11:14 pm
by admingirl
Hi Guys,
Thank you all for your response, appreciate it. Will give it a shot and do testing.
Have a great day to you all!
Ann
Re: Active thread pool Count,Poolsize Monitoring
Posted: Mon Jun 19, 2017 1:08 pm
by dwhitfield
Please let us know if you run into any additional issues.