Monitoring Studio: Configuring the Monitoring of Windows Performance Counters in CMA

How to configure the monitoring of Windows Performance Counters in CMA.

Related Topics

Objective

When setting the monitoring of a Windows Performance Counter within the PATROL Console (KM Commands > New > Monitor...), the Monitoring Studio KM retrieves and displays the list of all available Performance Objects on the monitored system.

Monitoring Studio KM for PATROL - Performance counter - performance object selection

However, performing the same operation with Central Monitoring Administration (CMA) in TrueSight Operations Management requires to know the names of the Performance Objects and Performance Counters to monitor as their list is not available.

This article explains how to get the list of Windows Performance Objects and Performance Counters to successfully configure the monitoring of Windows Performance Counters in CMA.

Procedure

To get the list of Windows Performance Objects and Performance Counters, you can use, among other tools, the Windows Management Instrumentation Tester tool (wbemtest.exe).

  1. Click the Start button, and type “wbemtest.exe” to run the utility.
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - Launching wbemtest.exe
  2. Click the Connect… button.
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
  3. The Connect window opens:
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
    • In the Namespace field, enter \\<hostname>\root\cimv2 where <hostname> needs to be replaced with the actual hostname or IP address of the remote system you want to connect to or root\cimv2 to connect to your localhost.
    • (optional) Provide Credentials if the system you need to access requires secure access.
    • Click Connect.
  4. Once connected, under IWbem Services, click the Enum Classes... button.
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
    • The Superclass Info window opens:
      Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
    • In the superclass name field, type “Win32_PerfRawData”.
    • Select the Immediate only option.
    • Click OK.
  5. The complete list of Performance Objects available on the system is then displayed:
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface

    For example:

    • Win32_PerfRawData_ASPNET_ASPNET
    • Win32_PerfRawData_ASPNET_ASPNETApplications
    • Win32_PerfRawData_ASPNET4030319_ASPNETAppsv4030319
    • Win32_PerfRawData_ASPNET4030319_ASPNETv4030319
    • Win32_PerfRawData_aspnetstate_ASPNETStateService
  6. The next step consists in retrieving the Performance Counters related to a specific Performance Object.

  7. Under IWbem Services, click the Enum Instances... button.
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
    • The Class Info window opens:
      Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
    • Choose one Performance Object from the list of Performance Objects available on your system and enter its name in the superclass name field (“Win32_PerfRawData_ASPNET_ASPNETApplications” in our example)
    • Select the Immediate only option.
    • Click OK.
  8. The Query Result window opens. Double-click on the result displayed.
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
  9. The Object editor window opens. Click the Show MOF button.
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
  10. The list of Performance Counters is then displayed:
    Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface
  11. Use the retrieved information to finally configure the monitoring of Windows Performance Counters in CMA. In our example:
    • Performance Object: Win32_PerfRawData_ASPNET_ASPNETApplications
    • Performance Counter: AnonymousRequests
      Monitoring Studio KM for PATROL - Monitoring Windows Performance Counters - wbemtest interface

Related Resource

An exhaustive list of all existing Performance Objects and their associated Performance Counters, can be consulted on this website: wutils.com/wmi/root/cimv2/win32_perfrawdata/.