监视 Windows 服务的当前状态。 此监视器发出警报指示 Windows 服务当前未在运行
此监视器通过按固定时间间隔查询 WMI 来检查 Windows 服务的状态。 如果将该服务设置为自动启动且该服务当前未在运行,就会发出警报。 如果将该服务设置为手动启动或者禁用了它,当服务停止时不会发出警报。
服务可以由于很多原因而停止,包括:
管理员停止了服务。
由于无法对用户帐户进行身份验证,服务无法启动。
服务遇到异常而停止。
服务未正确配置,导致服务无法启动。
此服务依赖于的另一个服务已停止
可使用以下链接查看为此服务收集的所有事件:
查看所有事件
可以使用以下链接尝试重新启动该 Windows 服务:
启动服务
Target | Microsoft.SystemCenter.NTService | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Low | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Internal | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.NTService.ServiceStateMonitor" Accessibility="Internal" Target="Microsoft.SystemCenter.NTService" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ParentMonitorID="Health!System.Health.AvailabilityState" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.NTService.ServiceStateMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.SystemCenter.NTService"]/DisplayName$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Success"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>$Target/Property[Type="Microsoft.SystemCenter.NTService"]/ServiceName$</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>