Unable to retrieve data - WMI Mode

Unable to retrieve data - WMI Mode

This article provides troubleshooting steps to identify and resolve data collection failures for Windows monitors configured in WMI mode. If one or more metrics are not being collected, the steps in this article will help determine whether the issue is caused by:

  • Applications Manager script execution

  • WMI connectivity between the Applications Manager server and the target server

  • WMI query execution

  • WMI configuration on the target Windows server

Follow the validation methods below in the given order to identify the cause of the issue.


Validation Methods

  1. Execute the required metric using the Self Help Tool.

  2. Execute the corresponding VBS script from the Applications Manager server.

  3. Execute the corresponding WMI query from the Applications Manager server using WBEMTEST.

  4. Execute the same WMI query directly on the target Windows server.


1. Validate Data Collection using the Self Help Tool

The Self Help Tool allows you to execute Windows monitoring scripts directly from the Applications Manager UI and verify whether the required metrics are being collected successfully.

Steps

  1. Navigate to Settings → Tools → Self Help Tools.

  2. Select the required server from the Choose the Host drop-down list.

  3. In the Type field:

    • Select Monitor Type.

    • Choose Windows as the monitor type.

  4. Select the required metric(s).

  5. Click Execute.

InfoResult interpretation
  • If the script returns the metric values successfully, the metric can be retrieved successfully through WMI. Perform a manual poll of the affected monitor and verify whether data has been collected.

  • If the script returns an error, note the error message and proceed with the following validation methods.


2. Execute the VBS Script from the Applications Manager Server

Applications Manager collects Windows metrics using VBS scripts. Executing the script manually helps verify whether the issue is related to script execution, authentication, or WMI connectivity.

Steps

  1. Log in to the server where Applications Manager is installed.

  2. Open Command Prompt with Run as Administrator.

  3. Navigate to:

    Quote
    <Applications Manager Home>\working\conf\application\scripts
  4. Execute the appropriate script.

For a remote Windows server:

Quote
cscript cpu.vbs <HOSTNAME> <USERNAME> <PASSWORD>

For testing the local Applications Manager server:

Quote
cscript cpu.vbs localhost
Replace:
  • <HOSTNAME> - the hostname or IP address of the target server.

  • <USERNAME> - the Windows account configured in the monitor.

  • <PASSWORD> - the corresponding password.

NotesNote: Refer to the Script, Namespace, and WMI Class Used KB to identify the corresponding VBS script for each Windows metric.

InfoResult Interpretation
  • If the script returns the metric values successfully, the metric can be retrieved successfully through WMI. Perform a manual poll of the affected monitor and verify whether data has been collected. 

  • If the script returns an error, note the error message and proceed with the following validation methods.


3. Execute the WMI Query from the Applications Manager Server

If the VBS script fails, verify whether the Applications Manager server can execute the WMI query directly using WBEMTEST.

Steps

  1. Open WBEMTEST on the Applications Manager server. (Refer to the steps provided under the section "Verify WMI Connectivity Using WBEMTEST" for instructions on using the WBEMTEST tool.)

  2. Connect to the target Windows server using the required WMI namespace.

  3. After the connection is established, click Query.

  4. Copy the WQL query corresponding to the required metric from the Script, Namespace, and WMI Class Used KB.

  5. Execute the query.

NotesImportant: Ensure that you connect using the correct WMI namespace required by the query.

InfoResult Interpretation
  • If the query executes successfully, WMI connectivity is functioning correctly.

  • If the query fails, verify the reported error and continue with the next validation method.


4. Execute the WMI Query directly on the target Windows Server

If the WMI query fails on the Applications Manager server, run the same query locally on the target server to determine whether the issue is related to Windows itself.

Steps

  1. Log in to the target Windows server.

  2. Open Windows Management Instrumentation Tester (WBEMTEST):

    • Open Run.

    • Type wbemtest.

    • Click Connect.

  3. Connect to the required WMI namespace.

  4. Click Query.

  5. Execute the same WQL query used in the previous step.

InfoResult Interpretation
  • If the query succeeds locally but fails from the Applications Manager server, the issue is related to remote WMI connectivity, firewall settings, DCOM configuration, or user permissions.

  • If the query also fails locally, the issue is related to the target server's WMI configuration, missing WMI classes or namespaces, a corrupted WMI repository, or disabled performance counters.


Next steps

Based on the validation results: