WMI Monitoring - In root/wmi

Mar 5, 2008 at 7:10 PM
First off I have just come across the Polymon tool and what a great tool it is!

Seems to do everything I need except one thing ... monitoring in the root/wmi for wmi monitoring - It seems to only monitor CIVM2 space.

I have take a look at the source of the monitor and it seems to only point to root/civm2 - if you update these entries and compile it sees the new area but on query produces errors.... help!

Can the monitor be updated to see other name spaces or the root/wmi?

In summary the reason is to monitor the WMI output from Everest Ultimate.

Thanks
Gareth
Mar 21, 2008 at 12:15 AM
I would suggest looking into the Powershell monitor options. Windows Powershell has a WMI CmdLet that could be useful.
For example: You can use the following command to get a list of all root namespaces in WMI.

get-wmiobject -namespace "root" -class "__namespace" | sort name | select name
name
----
...
CIMV2
...
SecurityCenter
...

Or get a list of classes in a namespace:
get-wmiobject -namespace "root\SecurityCenter" -list | sort name | select name
Name
----
...
AntiVirusProduct
FirewallProduct

Or query a class in another namespace.
get-wmiobject -namespace "root\SecurityCenter" -Class "AntiVirusProduct" | select ProductUpToDate
ProductUpToDate
---------------
True

With a little work you can incorporate the results into PolyMon.
http://www.codeplex.com/polymon/Wiki/View.aspx?title=Samples