Author: Yanna
Document ID: TEC594706
Last Modified Date: 7/1/2013
Products
- CA Application Performance Management
- CA Introscope
- Components
- PPK WEBSPHERE APP SERVER
- INTROSCOPE
Description:After implementing Wily Agent 8.2.3 on WAS 6.1, not able to see Websphere PMI metrics nor monitor PMI enabled Websphere Application ServerSolution:To enable PMI reporting:
Step 1: enable PMI in WebSphere
Step 2: enable PMI in the Introscope Agent profile
Step 3: configure an Introscope Custom Service in WebSphereStep 1:
Enabling PMI in WebSphere
This section describes how to turn on WebSphere Performance Monitor
Settings.
To enable PMI in WebSphere 6.0/5.0.x:
- See your WebSphere 6.0/5.0.x documentation for instructions on enabling Performance Monitoring Settings, and enabling Performance Monitoring for each desired metric category.
- If you are running WebSphere 5.0.x and 6.0, you must modify the Java 2 Security Policy for PMI. Edit the file, <WebSphere home>/properties/server.policy to include the lines:
// permissions for Introscope PMI support
grant codeBase "file: <Introscope_Home directory>/-" {
permission java.security.AllPermission;
};
Step 2:
Configuring PMI in Introscope
After you turn on Performance Monitoring Settings in WebSphere, you must
enable PMI data collection in Introscope, and enable the metric categories
you d
like to see reported.
To configure PMI collection, use the following steps:
- Shut down your managed application.
- Open the IntroscopeAgent.profile.
- Locate the property, introscope.agent.pmi.enable, under the WebSphere PMI Configurations heading, and verify it is set to true.
- Introscope can report data from the following high-level PMI metric categories.
These categories are represented by commented-out properties under the WebSphere PMI Configuration heading. Four categories threadPool, servletSessions, connectionPool, and j2c are set to true by default.
? WebSphere 5.0.x PMI Categories:
introscope.agent.pmi.enable.threadPool=true
introscope.agent.pmi.enable.servletSessions=true
introscope.agent.pmi.enable.connectionPool=true
introscope.agent.pmi.enable.j2c=true
introscope.agent.pmi.enable.bean=false
introscope.agent.pmi.enable.transaction=false
introscope.agent.pmi.enable.webApp=false
introscope.agent.pmi.enable.jvmRuntime=false
introscope.agent.pmi.enable.jvmpi=false
introscope.agent.pmi.enable.system=false
introscope.agent.pmi.enable.cache=false
introscope.agent.pmi.enable.orbPerf=false
introscope.agent.pmi.enable.j2c=false
introscope.agent.pmi.enable.webServices=false
introscope.agent.pmi.enable.wlm=false - For each high level metric category you want to report, enter a value of
true. - Save the changes.
- Restart the managed application.
Step 3:Configuring a custom service in WebSphere 5.0, 6.0, or 6.1
This section describes how to create a custom service in WebSphere 5.0. To create a custom service in previous versions, or for more information, consult your WebSphere documentation.
To configure a custom service:
- Open the WebSphere Administrative Console.
- Select the server you'd like to configure, then:
For WebSphere 6.1, navigate to Server Infrastructure > Administration >
Custom Services.
For WebSphere 6.0, click Administration, then Custom Services.
For WebSphere 5.0, click Custom Services. - Click New to add a new Custom Service, then:
For WebSphere 6.0, check the box for Enable service at server startup
For WebSphere 5.0, check the Startup check box. - In the Classname field, enter:
com.wily.introscope.api.websphere.IntroscopeCustomService - In the Display Name field, enter:
Introscope Custom Service - In the Classpath field, enter:
<WebSphere_Home>/wily/WebAppSupport.jar - Click OK.
- Restart the application server.
Viewing WebSphere Agent PMI data
After you ve done the above, available PMI metrics will be displayed in the
following location in the Investigator tree:
<Domain>|<Host>|<Process>|<Agent>|WebSpherePMI
Search the Entire CA APM Knowledge Base