WMI Service Availability Status

Dell.WindowsServer.WMIServiceMonitor (UnitMonitor)

Unit Monitor to calculate WMI Service Availability Status.

Knowledge Base article:

Summary

The Windows Management Instrumentation Service provides infrastructure support for system management functions.

This Health Monitor fetches the State of the WMI Service . The status can be one of the following three types:

Success: The service is running.

Warning: The service is paused.

Critical: The service has been stopped.

Causes

Warning: A Warning status may display if a service in the specified system is reporting a paused state.

Critical: A Critical status may display if the service in the specified system is reporting a stopped state. This state can also occur during installing or uninstalling the WMI Service.

Resolutions

Perform the following steps for the Warning and Critical status:

Warning: A Warning status indicates the WMI service is paused. Resume the service on the managed node.

Critical: A Critical status indicates actual or imminent loss of data or loss of function. Restart the service on the agent managed node. If the restart fails, re-install WMI on the agent managed node. This state can also occur during installing or uninstalling the WMI Service.

Element properties:

TargetDell.WindowsServer.OMServices
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
WMI Service Stopped
WMI is in a Critical State as the Service has stopped. Try Restarting the Service.
RunAsDefault

Source Code:

<UnitMonitor ID="Dell.WindowsServer.WMIServiceMonitor" Accessibility="Public" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Target="Dell.WindowsServer.OMServices" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="WMIServiceErrorStateAlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" HealthState="Success" MonitorTypeStateID="Running"/>
<OperationalState ID="NotRunning" HealthState="Error" MonitorTypeStateID="NotRunning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</ComputerName>
<ServiceName>winmgmt</ServiceName>
</Configuration>
</UnitMonitor>