MECM WMI Service Availability Monitor

MECM.SiteServer.WMI.Service.Monitor (UnitMonitor)

This monitor checks the availability status of the WMI service.

Knowledge Base article:

Summary

This monitor checks the status of the Windows Management Instrumentation. If you receive an alert from this monitor, action is required to bring the service back to an operational state.

Causes

A service can stop for many reasons, including:

Resolutions

If the Windows Management Instrumentation service is not running you can diagnose the issue or restart the service by taking the following actions:

Element properties:

TargetMECM.SDKProvider
Parent MonitorMECM.SiteRole.AggregateRollup.Monitor
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMECM.Service.MT
RemotableTrue
AccessibilityPublic
Alert Message
MECM WMI Service Not Running
The {0} service on computer {1} is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="MECM.SiteServer.WMI.Service.Monitor" Accessibility="Public" Enabled="true" Target="MECM.SDKProvider" ParentMonitorID="MECM.SiteRole.AggregateRollup.Monitor" Remotable="true" Priority="Normal" TypeID="MECM.Service.MT" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="MECM.SiteServer.WMI.Service.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='DisplayName']$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>Winmgmt</ServiceName>
<IntervalSeconds>120</IntervalSeconds>
<MatchCount>5</MatchCount>
</Configuration>
</UnitMonitor>