Windows Time 服務健全狀況

Microsoft.Windows.Server.2003.AD.DC.W32Time.ServiceCheck (UnitMonitor)

監視 Windows 服務 Windows Time 的健全狀況

Knowledge Base article:

摘要

此監視使用基本服務監視來監視網域控制站的重要 Windows 服務「Windows Time 服務」(W32Time) 的健全狀況。

設定

不需要組態。

解決方式

使用相關工作以重新啟動服務。

Element properties:

TargetMicrosoft.Windows.Server.2003.AD.DC.W32Time
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
Windows Time 服務未執行
Windows Time 服務未在網域控制站 {0} 上執行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2003.AD.DC.W32Time.ServiceCheck" Accessibility="Public" Enabled="onEssentialMonitoring" Target="AD2003Core!Microsoft.Windows.Server.2003.AD.DC.W32Time" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2003.AD.DC.W32Time.ServiceCheck.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>.</ComputerName>
<ServiceName>W32Time</ServiceName>
</Configuration>
</UnitMonitor>