Running your new monitoring applications
Use this page to learn about the steps you must follow in order to run monitoring applications.
About this task
Procedure
- You need a WebSphere® Application Server installation or WebSphere Application Server Java™ Platform, Enterprise Edition (Java EE) client package to run a PMI application.
- Use a PMI client API to write your own application.
- 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.)
- To run a PMI application you need a WebSphere Application
Server runtime environment (the application server installation or
a Java EE client package). Using the following
script to run the application: Note: 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 %*
Subtópicos
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Performance Monitoring Infrastructure client package
Use this page to learn how to use the PmiClient application and JMX connector to communicate to the Perf MBean in an application server.![[IBM i]](../images/iseries.gif)
Running your monitoring applications with security enabled
You can opt to run a Performance Monitoring Infrastructure client application with security enabled.![[IBM i]](../images/iseries.gif)
Creating a custom PMI using StatsFactory
You can update your application to call methods defined using A Stats/PMI template (Performance Monitoring Infrastructure), resource bundle, Stats/PMI module and methods to update custom statistics.
Related concepts:
Tópico de Tarefa
Última atualização: July 9, 2016 5:24http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=tprf_devprf
Nome do arquivo: tprf_devprf.html