Reputation: 1786
I have an application in WebSphere Application Server and I want to monitor HTTP connections pool (currently processed HTTP connections) and log this data to file. WebSphere Application Server has it's own monitoring tool, but as I see correctly there is no such parameter to monitor. It offers number of currently processed IIOP requests, servlet sessions, HTTP sessions, alive beans, concurrent outbound connection and some other statistics. Full info is is here
How can I monitor HTTP connections pool (currently processed HTTP connections) and log this data to file?
Upvotes: 4
Views: 6971
Reputation: 18020
You are not entirely correct.
First you can monitor any thread pool that is in WAS via PMI. See here for counters that you may get from monitoring pool - http://www-01.ibm.com/support/knowledgecenter/api/content/nl/pl/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/rprf_datacounter9.html
The thread pool is called WebContainer thread pool.
Second, you can store all these counters data to file directly using web admin console. Go to Monitoring and Tuning > Performance Viewer > Current activity
, select server, then in PMI viewer select Settings > Log
to define logging period and format. And in Modules > Thread pools > WebContainer
you can view current counter values.
This is rather for short term monitoring, than for constant logging. There is also option to load and replay the log via console later, viewing gathered data.
These counters are of course available via JMX, so you can write your custom client if you need it.
UPDATE
If you are particularly interested in Web Serivces counters then there is separate Web Services monitoring module for that. Check this page for details Monitoring the performance of web services applications.
You will be able to see:
Upvotes: 1