此监视器检查 Windows Management Instrumentation 服务的状态。
此监视器对用于检测代理的非正常情况的 WMI 服务可用性监视器中的运行状况进行汇总。
浏览状态为“警告”或“严重”的运行状况资源管理器单元监视器,查看状态更改信息以及特定知识以帮助解决问题。
监视器检查 WMI 服务的状态以确保它处于“正在运行”状态。 如果在多次检查后仍未如此,则引发警报。
要解决问题,需要在系统上将 WMI 服务设置为“正在运行”状态。 执行以下步骤来解决问题:
运行“启动 WMI 服务”任务以将 WMI 服务设置为“正在运行”状态。 如果成功,则问题得到解决。
运行“启动 WMI 服务”任务以将 WMI 服务设置为“正在运行”状态。
如果该任务失败,则查看任务详细信息中提供的错误消息以确定故障的性质。 同时,查看系统上的应用程序和系统事件日志以确定是否有与 WMI 服务失败相关的任何警告或错误。
Target | Microsoft.SystemCenter.HealthService | ||
Parent Monitor | Microsoft.SystemCenter.AgentManagement.WMIServiceAvailabilityRollup | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.2007.WindowsServiceNotRunningState.ConsecutiveSamplesThreshold.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.WMIService.ServiceMonitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ParentMonitorID="Microsoft.SystemCenter.AgentManagement.WMIServiceAvailabilityRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.2007.WindowsServiceNotRunningState.ConsecutiveSamplesThreshold.MonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.WMIService.ServiceMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/@time$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Warning"/>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>Winmgmt</ServiceName>
<IntervalSeconds>125</IntervalSeconds>
<Threshold>3</Threshold>
</Configuration>
</UnitMonitor>