WMI Service Detector
The WMIDetector detects the availability of WMIConfiguration on a device when scanning it using Provisiond.
By default, it expects to make a WMI query to the Win32_ComputerSystem class, checking for OK from the Status object.
Configuration and use
| Parameter | Description | Default value | 
|---|---|---|
| username | The username to use when authenticating against the WMI host. | Administrator | 
| password | The password to use when authenticating against the WMI host. | none | 
| domain | The Windows domain to use when authenticating against the WMI host. | WORKGROUP | 
| wmiClass | The class of instances within WMI.
An example would be the  | Win32_ComputerSystem | 
| wmiObject | A WMI object is technically a member of a WMI property set.
Using the previous example of  | Status | 
| wmiWqlStr | Microsoft WMI also implements an  | NOTSET | 
| compVal | The value to use when performing a comparison against the WMIObject. | OK | 
| compOp | The compare operation is how you tell the OpenNMS WMI poller plugins how to verify the nature (up, critical) of a specific property within WMI. In the event of unequal comparisons, the system will always have the WMI value (as retrieved from the target) on the left. Available compare operations are: 
 The  | EQ | 
| matchType | The match type configuration tells the system how to handle multiple instance results. Available match types are: 
 | all | 
| namespace | Every WMI class exists in a namespace.
The default namespace for most common classes is  | root/cimv2 |