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
Active thread pool Count,Poolsize Monitoring
Re: Active thread pool Count,Poolsize Monitoring
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:
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:
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.if Active Count=Poolsize then it will be a Warning Alert
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Active thread pool Count,Poolsize Monitoring
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
Thank you all for your response, appreciate it. Will give it a shot and do testing.
Have a great day to you all!
Ann
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Active thread pool Count,Poolsize Monitoring
Please let us know if you run into any additional issues.