Applications Systems

Use WBEMTEST queries to verify WMI access for SAM component monitor credentials

How to quickly test WMI credentials.

First published date

10/23/2018 8:49 PM

Last published date

8/11/2022 1:44 PM

Overview

This article describes how to use WBEMTEST to verify that credentials provided in the SAM component monitor will work, especially for services and processes.

To learn more about WMI monitoring in SAM, see:


 

Product section

Server Application Monitor

Resolution

  1. Click Start and run WBEMTEST.
  2. Click Connect.
  3. Enter the IP address for Namespace \\<ip of target node>\root\cimv2
    Note: For users with an AD account, enter the domain name\user name along with the corresponding password. For example, UN: Microsoft\JohnDoe.
  4. Click Connect > Query.
  5. Copy and paste the following queries one at a time:
    -- Scripts are not supported under any SolarWinds support program or service.
    -- Scripts are provided AS IS without warranty of any kind. SolarWinds further
    -- disclaims all warranties including, without limitation, any implied warranties
    -- of merchantability or of fitness for a particular purpose. The risk arising
    -- out of the use or performance of the scripts and documentation stays with you.
    -- In no event shall SolarWinds or anyone else involved in the creation,
    -- production, or delivery of the scripts be liable for any damages whatsoever
    -- (including, without limitation, damages for loss of business profits, business
    -- interruption, loss of business information, or other pecuniary loss) arising
    -- out of the use of or inability to use the scripts or documentation.
    
    SELECT * FROM Win32_Service
    -- Scripts are not supported under any SolarWinds support program or service.
    -- Scripts are provided AS IS without warranty of any kind. SolarWinds further
    -- disclaims all warranties including, without limitation, any implied warranties
    -- of merchantability or of fitness for a particular purpose. The risk arising
    -- out of the use or performance of the scripts and documentation stays with you.
    -- In no event shall SolarWinds or anyone else involved in the creation,
    -- production, or delivery of the scripts be liable for any damages whatsoever
    -- (including, without limitation, damages for loss of business profits, business
    -- interruption, loss of business information, or other pecuniary loss) arising
    -- out of the use of or inability to use the scripts or documentation.
    
    SELECT * FROM Win32_Process
    -- Scripts are not supported under any SolarWinds support program or service.
    -- Scripts are provided AS IS without warranty of any kind. SolarWinds further
    -- disclaims all warranties including, without limitation, any implied warranties
    -- of merchantability or of fitness for a particular purpose. The risk arising
    -- out of the use or performance of the scripts and documentation stays with you.
    -- In no event shall SolarWinds or anyone else involved in the creation,
    -- production, or delivery of the scripts be liable for any damages whatsoever
    -- (including, without limitation, damages for loss of business profits, business
    -- interruption, loss of business information, or other pecuniary loss) arising
    -- out of the use of or inability to use the scripts or documentation.
    
    SELECT * FROM Win32_PerfRawData_PerfProc_Process
     

SAM must show results in the WMI hive to have any reasonable expectation to work.

Note: An ACCESS DENIED message indicates the user name provided does not have rights to issue and query.