WMI Plugin Help


Allows you to get a whole lot of information via WMI.

Sensors:

- Query:

Parameters:

Default Parameters:
- Instance: Which instance to check.
- InstanceProperty: The property of the instance to check.
- Namespace: The namespace for the query. Default value is root\CIMV2.
- Property: The actual property to return.
- Query: The class you want to query.
- Seperator: When it returns multiple values, what is the seperator between the seperate values.

Optional Parameters:

- Host: The host to get the information from (leave this blank for this machine).
- Password: The password to logon to the system with (leave this blank to use the password for the currently logged in user that is running CM2).
- Username: The username to logon to the system with (leave this blank to use the currently logged in user that is running CM2).

Notes:

If for example, I want to know the capabilities of a printer "PDFCreator", then I set Query to "Win32_Printer", InstanceProperty to "DeviceID", Instance to "PDFCreator", and Property to "Capabilities", and leave the namespace as "root\CIMV2".

If I want to know the current signal strength for my wireless network card (in dBm), then I set namespace to "root\WMI", Query to "MSNdis_80211_ReceivedSignalStrength", InstanceProperty to "InstanceName", Instance to "Belkin 802.11g Wireless Card - Packet Scheduler Miniport" (for my network card).

To get a list of the network interfaces on a remote machine named luerk (with the same username and password as I am currently using), then I set Host to "luerk", Namespace to "root\cimv2", Query to "Win32_NetworkAdapterConfiguration", Property to "Description". If I set Seperator to " + " then this will list the interfaces like "NIC 1 + NIC 2 + NIC 3".

If you received an error string "Error: Unhandled Type", please let me know all of the parameters, so I can figure out where to find the types and how to handle them (there are some I am uncertain about).

This plugin doesn't have any browsing support at the moment (it is hopefully coming). In the meantime, to find a list of properties and instances that can be feed in without errors, and the information it returns, you can use the WMI Administrative tools from http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID;=6430F853-1120-48DB-8CC5-F2ABDC3ED314 (4 Mb), or something like WMIX from http://wmix.pjtec.com/ .

Changelog:

1.0.0.1
- Initial public release.