Using PMI client to develop your monitoring application (deprecated)
You can use the Performance Monitoring Infrastructure (PMI)
interfaces to develop your own applications to collect and display
performance information.
About this task
The following is the programming model for Performance Monitoring
Infrastructure (PMI) client:
Procedure
Create an instance of PmiClient.
This is used for all subsequent method calls.
Optional: You can create your own MBeans.
See the extending the WebSphere® Application Server administrative
system with custom MBeans for more information.
Call the listNodes() and listServers(nodeName) methods
to find all the nodes and servers in the WebSphere Application Server domain.
Call listMBeans and listStatMembers to get all the available
MBeans and MBeanStatDescriptors.
Call the getStats method to get the Stats object for the
PMI data.
Optional: The client can also call setStatLevel
or getStatLevel to set and get the monitoring level. Use the MBeanLevelSpec
objects to set monitoring levels.
Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.
This feature requires Internet access.
Most of the following links will take you to information that is not part of the formal product documentation and is provided "as is." Some of these links go to non-IBM Web sites and are provided for your convenience only and do not in any manner serve as an endorsement by IBM of those Web sites, the material thereon, or the owner thereof.
Last updated: Oct 22, 2010 12:21:29 AM CDT http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-zos&topic=tprf_usepmi2 File name: tprf_usepmi2.html