WMI 服務狀態

Microsoft.Windows.Cluster.NodeRole.WMIServiceCheck (UnitMonitor)

監視 WMI 服務的健全狀況

Knowledge Base article:

摘要

此監視可檢查 WMI 服務的狀態。 如果服務目前不在執行中,就會發出警示。

原因

服務可能會因許多原因而停止,其中包括:

解決方式

您可嘗試使用下列連結重新啟動服務:

啟動服務

Element properties:

TargetMicrosoft.Windows.Cluster.NodeRole
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
WMI 服務並未執行
{0} 上的 WMI 服務並未執行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Cluster.NodeRole.WMIServiceCheck" Accessibility="Public" Enabled="false" Target="ClusLibrary!Microsoft.Windows.Cluster.NodeRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Cluster.NodeRole.WMIServiceCheck.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/NetworkName$</ComputerName>
<ServiceName>WinMgmt</ServiceName>
</Configuration>
</UnitMonitor>