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

Document created by Yanna Employee on May 25, 2016Last modified by SamCreek on May 25, 2016
Version 2Show Document
  • View in full screen mode

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 WebSphere
Step 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:

  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:
    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
  5. For each high level metric category you want to report, enter a value of
    true.
  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:
    com.wily.introscope.api.websphere.IntroscopeCustomService
  5. In the Display Name field, enter:
    Introscope Custom Service
  6. In the Classpath field, enter:
    <WebSphere_Home>/wily/WebAppSupport.jar
  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:
    <Domain>|<Host>|<Process>|<Agent>|WebSpherePMI

 

 

Search the Entire CA APM Knowledge Base

 

search-kb.jpg

Attachments

    Outcomes