WAS v8.5 > Monitoring > Monitoring overall system health > Develop custom PMI monitoring applications

Run your new monitoring applications

Use this page to learn about the steps follow in order to run monitoring applications.

Follow these steps to run your monitoring applications.

  1. You need a WebSphere Application Server installation or WAS Java EE client package to run a PMI application.

  2. Use a PMI client API to write our own application.
  3. Compile the newly-written PMI application and place it on the class path. (The jar files under %WAS_HOME%\lib and %WAS_HOME%\classes folder will be placed in the class path by the following script.)
  4. To run a PMI application you need a WAS runtime environment (the application server installation or a Java EE client package). Using the following script to run the application:

    The following is formatted for Windows based systems. You may need to adjust the script depending on your operating system.

    @echo off
    @setlocal
    
    call "%~dp0setupCmdLine.bat"
    
    "%JAVA_HOME%\bin\java" "%CLIENTSAS%" "%CLIENTSOAP%" -DwebsphereV5Statistics=false 
    -Dwas.install.root="%WAS_HOME%" -Dws.ext.dirs="%WAS_EXT_DIRS%" -classpath "%WAS_CLASSPATH%" 
    com.ibm.ws.bootstrap.WSLauncher com.ibm.websphere.pmi.PmiJmxTest %*
    


Subtopics


Related concepts:

Java thin client


+

Search Tips   |   Advanced Search