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

  1. Create an instance of PmiClient. This is used for all subsequent method calls.
  2. Optional: You can create your own MBeans. See the extending the WebSphere® Application Server administrative system with custom MBeans for more information.
  3. Call the listNodes() and listServers(nodeName) methods to find all the nodes and servers in the WebSphere Application Server domain.
  4. Call listMBeans and listStatMembers to get all the available MBeans and MBeanStatDescriptors.
  5. Call the getStats method to get the Stats object for the PMI data.
  6. Optional: The client can also call setStatLevel or getStatLevel to set and get the monitoring level. Use the MBeanLevelSpec objects to set monitoring levels.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=tprf_usepmi2
File name: tprf_usepmi2.html