WMI 运行状况监视器

Microsoft.SystemCenter.WMIFunctionalMonitor (UnitMonitor)

此监视器通过定期执行 WMI 查询来检查 WMI 是否正常

Knowledge Base article:

摘要

WMI 运行状况监视器尝试运行 WMI 查询 "select * from win32_operatingsystem" 并遇到 WMI 错误。

原因

此计算机上的 WMI 不正常,无法从查询中返回任何数据。

解决方法

确保 Windows Management Instrumentation (WMI) 服务在此计算机上运行。

确保远程过程调用 (RPC) 服务在此计算机上运行。

确保 WMI 存储库在计算机上一致

确保已启用 DCOM

如果任何这些步骤都未解决问题,你可以在 http://go.microsoft.com/fwlink/?LinkId=158226 下载 WMI 诊断实用程序。WMI 诊断实用程序是一个 VBScript 脚本,旨在帮助你对计算机上的 WMI 服务的当前状态进行故障排除。

外部

有关 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>