Windows 事件日志服务运行状况

Microsoft.Windows.Server.6.2.OperatingSystem.EventLogServiceHealth (UnitMonitor)

监视 Windows 服务“Windows 事件日志”的运行状况

Knowledge Base article:

摘要

事件日志服务支持基于 Windows 的程序发出的事件日志消息并添加了组件,可以在“事件查看器”中查看。 此服务不能通过管理操作停止,是操作系统正常工作所必需的。

原因

服务可以由于很多原因而停止,包括:

解决方法

如果此服务已停止,应重新启动操作系统。 如果重新启动服务不能解决问题并且操作系统不能以“正常模式”启动,则可能需要在“安全模式”下更新服务的配置。 一旦处于“安全模式”,就应当用“自动”启动类型配置该服务,并且应将“登录”配置设置为“本地系统”。

Element properties:

TargetMicrosoft.Windows.Server.6.2.OperatingSystem
Parent MonitorMicrosoft.Windows.Server.6.2.OperatingSystem.CoreServicesRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows 事件日志服务已停止
服务器 {0} 上的 Windows 事件日志服务已停止运行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.2.OperatingSystem.EventLogServiceHealth" Accessibility="Public" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.6.2.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.6.2.OperatingSystem.EventLogServiceHealth.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="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>Eventlog</ServiceName>
</Configuration>
</UnitMonitor>