[Version 5.0.1 and later]Developing your own monitoring application using Performance Monitoring Infrastructure client

Why and when to perform this task

The following is the programming model for Performance Monitoring Infrastructure (PMI) client:

Steps for this task

  1. Create an instance of PmiClient.
    This is used for all subsequent method calls.
  2. (Optional)   You can create your own MBeans.
    Refer to Extending the WebSphere Application Server administrative system with custom MBeans.
  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.

Related reference
Performance Monitoring Infrastructure client package
Performance Monitoring Infrastructure client interface
Example: Performance Monitoring Infrastructure client with new data structure



Searchable topic ID:   tprf_usepmi2
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/tprf_usepmi2.html

Library | Support | Terms of Use | Feedback