Smarts Server Manager: How to enable debug logging for WMI discovery
search cancel

Smarts Server Manager: How to enable debug logging for WMI discovery

book

Article ID: 331750

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

Smarts Server Manager offers the ability to discover and monitor hosts using the Windows Management Interface (WMI). This article explains how to turn on additional logging when WMI discovery fails.


 

To enable debug logging for Smarts Server Manager WMI discovery, do the following:

  1. In wmi.import file, set trace = TRUE for the WMI_Configuration class instance.
  2. Set debug to TRUE in wmi-discovery.asl and wmi-tpmgr-discovery.asl.
  3. Restart Smarts Server Manager.
  4. Rediscover devices.
Note: Be sure to disable debug logging (reversing the above steps) when the issue is resolved.

Getting list of processes using WMI
The wmi_processes.vbs
tool (attached to this article) will retrieve a list of the processes running on the machine using WMI.  You can use this to compare with the processes that were discovered by Smarts Server Manager.

To use the attached tool, do the following:

  1. Rename the attached file from wmi_processes.vbs.txt to wmi_procesesses.vbs, and save on the hard drive of the target system.
  2. At a command prompt on the target host, run the following command:
cscript wmi_processes.vbs
  1. The output of this command will provide a list of processes and the commands that started them.


 


Attachments

wmi_processes.vbs.txt get_app