select * from Win32_Product
if i issue "!wmi h= select * from Win32_Product", collector debugger comes back with "Empty Value Set". Can someone elaborate on why? Win32_Product is very widely used to collect installed applications on a windows host.
This same query returns results from wbemtest.exe
Wael_Altaqi
Posted 10 years ago·Last reply 9 years ago
3 comments
Staino
·9 years agoHi Wael
Just wanted to add that win32_product should not be used for monitoring. Invoking this class will cause windows to do an integrity check on all installed MSI's, making it very slow (check the application log after you invoke this class to see). Also win32_product will only return applications installed using MSI.
Regards
Dave_Lee_Q
·10 years agoAs Tom pointed out you need to add the hostname, but if you already doing this then the help page http://www.logicmonitor.com/support/monitoring/os-virtualization/troubleshooting-wmi/ has a section on repairing wmi counters.
"You may be experiencing unexplained errors such as "Empty result set", ox80041003, 0x80041017 from the collector debug, WBEMTEST utility, or your custom application."
There are steps to repair your counters in that help page, I have found this cures the empty results set problem in all cases I have seen.
Microsoft state that this may happen when "... certain extensible counters corrupt the registry, or if some Windows Management Instrumentation (WMI)-based programs modify the registry", but the exact nature of these issues is largely unknown and normally not worth troubleshooting extensively.
Tom_Lasswell
·10 years agoHey there, what collector version are you running? I'm not seeing the same issue .
you point out the command:
Are you putting in your h={hostname} ??