時間正確性超出範圍

Microsoft.Windows.Server.10.0.OperatingSystem.TotalTimeOffset (UnitMonitor)

監視此伺服器的總時間位移

Knowledge Base article:

摘要

Time Accuracy Out of Range 監視器可讓運算子為系統設定不同閾值。

設定

根據預設,會停用時間正確性超出範圍的監視器。啟用方法如下:

在 [撰寫中] 窗格中選擇 [規則],於 [尋找] 中輸入「時間正確性超出範圍」,然後按一下 [立即尋找]。

覆寫監視器,以設定 Enabled = "True"。

預設閾值為毫秒

請注意,Overrides 可將閾值的形式變更為微秒,例如: 閾值 = 0.001 為 1 微秒。此外,這些閾值可套用到管理群組中所有的電腦,如有需要,也可以對特定電腦單獨定義閾值。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.10.0.TimeOffset.Monitortype
RemotableTrue
AccessibilityPublic
Alert Message
時間正確性超出範圍警示
時間正確性的變動超過 {0}。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.OperatingSystem.TotalTimeOffset" Accessibility="Public" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.10.0.TimeOffset.Monitortype" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.OperatingSystem.TotalTimeOffset.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='TimeOffset']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OverThreshold" MonitorTypeStateID="TimeOffsetHigh" HealthState="Error"/>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="TimeOffsetNormal" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>600</IntervalSeconds>
<TimeoutSeconds>120</TimeoutSeconds>
<TargetComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</TargetComputerName>
<Threshold>60000</Threshold>
<NumSamples>4</NumSamples>
<CounterName>Computed Time Offset</CounterName>
<ObjectName>Windows Time Service</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
</Configuration>
</UnitMonitor>