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:
- In wmi.import file, set trace = TRUE for the WMI_Configuration class instance.
- Set debug to TRUE in wmi-discovery.asl and wmi-tpmgr-discovery.asl.
- Restart Smarts Server Manager.
- 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:
- Rename the attached file from wmi_processes.vbs.txt to wmi_procesesses.vbs, and save on the hard drive of the target system.
- At a command prompt on the target host, run the following command:
cscript wmi_processes.vbs
- The output of this command will provide a list of processes and the commands that started them.