時間誤差監視

Microsoft.Windows.Server.2016.AD.TimeSkew.Monitor (UnitMonitor)

監視目前 DC 上的時間與 PDC 上的時間是否相符。

Knowledge Base article:

摘要

AD 時間誤差監視。當本機網域控制站與目標網域控制站之間的時間差超過指定的閾值時,此監視器就會發出警示。

這表示兩個網域控制站目前的時間不一致。如果時間誤差過大,Kerberos 驗證可能會受影響。

設定

原因

可能的原因如下:

解決方式

確認每個 DC 都已經與 PDC 或 Gtime 伺服器同步。確認所有其他 DC 與之同步時間的任一 DC 已設定成使用外部時間來源。

您可以使用命令列工具 w32tm.exe 來設定 DC 上的時間。請參閱下面的外部資源。

外部

如需詳細資訊,請參閱:

Element properties:

TargetMicrosoft.Windows.Server.2016.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2016.AD.WindowsTime.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.2016.AD.TimeSkew.Monitortype
RemotableFalse
AccessibilityPublic
Alert Message
時間誤差監視器失敗。
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2016.AD.TimeSkew.Monitor" Accessibility="Public" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2016.AD.WindowsTime.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.2016.AD.TimeSkew.Monitortype" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2016.AD.TimeSkew.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='ErrorString']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="TimeSkewOK" MonitorTypeStateID="TimeSkewOK" HealthState="Success"/>
<OperationalState ID="TimeSkewError" MonitorTypeStateID="TimeSkewError" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<Frequency>300</Frequency>
<TimeoutSeconds>300</TimeoutSeconds>
<Threshold>120</Threshold>
<Iterations>3</Iterations>
<TargetServer>$Target/Property[Type="AD!Microsoft.Windows.Server.AD.Library.DomainControllerRole"]/PDCEmulator$</TargetServer>
</Configuration>
</UnitMonitor>