时间准确度超出范围

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

监视此服务器的总时间偏移

Knowledge Base article:

摘要

通过时间准确度超出范围监视器,操作员能够为系统设置不同的阈值。

配置

默认情况下,禁用时间准确度超出范围监视器。下面说明如何启用:

在“创作”区域中,选择“监视器”,在“查找”中输入“时间准确度超出范围”,然后单击“立即查找”。

替代监视器,将“启用”设置为“True”。

默认阈值以毫秒为单位

请注意:可使用替代操作将阈值更改为微秒形式,例如:阈值 = 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>