WMI 健全狀況監視

Microsoft.SystemCenter.WMIFunctionalMonitor (UnitMonitor)

此監視會定期執行 WMI 查詢,以檢查 WMI 是否狀況良好

Knowledge Base article:

摘要

WMI 健全狀況監視嘗試執行 WMI 查詢 “select * from win32_operatingsystem” 但發生 WMI 錯誤。

原因

此電腦上的 WMI 狀況不良,無法從查詢傳回任何資料。

解決方式

確定此電腦上已執行 Windows Management Instrumentation (WMI) 服務。

確定此電腦上已執行 Remote Procedure Call (RPC) 服務。

確認電腦上 WMI Repository 的一致性

確定已啟用 DCOM

如果這些步驟無法解決問題,您可以下載 WMI Diagnosis Utility,網址為 http://go.microsoft.com/fwlink/?LinkId=158226。WMI Diagnosis Utility 是為了協助您疑難排解電腦上 WMI 服務目前的狀態而設計的 VBScript 指令碼。

外部

如需疑難排解 WMI 問題的詳細資訊,請參閱 http://go.microsoft.com/fwlink/?LinkId=158224

Element properties:

TargetMicrosoft.SystemCenter.Agent
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.OperationsManager.WMIFunctional.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
WMI 狀況不良
電腦 {0} 上的 WMI 狀況不良
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.WMIFunctionalMonitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.Agent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.OperationsManager.WMIFunctional.MonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.WMIFunctionalMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="WMISuccess" MonitorTypeStateID="WMISuccess" HealthState="Success"/>
<OperationalState ID="WMIError" MonitorTypeStateID="WMIError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>86400</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>