Applications Systems
Use WBEMTEST queries to verify WMI access for SAM component monitor credentials
How to quickly test WMI credentials.
First published date
Last published date
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:
- Choose polling methods (SolarWinds Platform Administrator Guide)
- What privileges do I need for WMI polling? (SolarWinds Platform online help)
- Portocalypse - WMI Demystified product blog (THWACK)
- Feature availability based on monitoring methods — with agents or agentless using SNMP or WMI (Success Center)
Product section
Resolution
- Click Start and run
WBEMTEST. - Click Connect.
- 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. - Click Connect > Query.
- 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.