Websphere PMI node doesn't show / PMI metrics are not available under Investigator

Document ID : KB000020290
Last Modified Date : 14/02/2018
Show Technical Document Details


After implementing Wily Agent 8.2.3 on WAS 6.1, not able to see Websphere PMI metrics nor monitor PMI enabled Websphere Application Server


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 WebSphere

Step 1:
Enabling PMI in WebSphere
This section describes how to turn on WebSphere Performance Monitor
To enable PMI in WebSphere 6.0/5.0.x:

  1. 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.
  2. 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:

  1. Shut down your managed application.
  2. Open the IntroscopeAgent.profile.
  3. Locate the property, introscope.agent.pmi.enable, under the WebSphere PMI Configurations heading, and verify it is set to true.
  4. 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:
  5. For each high level metric category you want to report, enter a value of
  6. Save the changes.
  7. 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:

  1. Open the WebSphere Administrative Console.
  2. 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.
  3. 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.
  4. In the Classname field, enter:
  5. In the Display Name field, enter:
    Introscope Custom Service
  6. In the Classpath field, enter:
  7. Click OK.
  8. 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: