AD 复制队列监视器

Microsoft.Windows.Server.2016.AD.Performance.Replication.Queue.Monitor (UnitMonitor)

监视域控制器复制队列中的项目数。

Knowledge Base article:

摘要

监视 AD 复制队列中的项目数。如果此数字太大,则可能表明 AD 复制出现了延迟。

原因

可能的原因包括:

解决方案

查看计算机的整体系统性能,以确定它是否需要更多的资源。

添加更多的域控制器以帮助平衡负载。

确保活动 AD 站点中有足够的 DC。

运行 'repadmin /showrepl' 和 'repadmin /replsum',以确保其他域控制器不会发生复制失败。

外部

Element properties:

TargetMicrosoft.Windows.Server.2016.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2016.AD.PerformanceReplication.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.2016.AD.Replication.Queue.Monitortype
RemotableFalse
AccessibilityPublic
Alert Message
AD 复制队列运行状况监视器超出了一个或多个阈值。

平均复制队列大小高于配置的阈值。
计数器: {0}
平均队列大小: {1}
样本数:{2}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2016.AD.Performance.Replication.Queue.Monitor" Accessibility="Public" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2016.AD.PerformanceReplication.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.2016.AD.Replication.Queue.Monitortype" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2016.AD.Performance.Replication.Queue.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data[Default='']/Context/CounterName$</AlertParameter1>
<AlertParameter2>$Data[Default='']/Context/Value$</AlertParameter2>
<AlertParameter3>$Data[Default='']/Context/SampleCount$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="QueueOK" MonitorTypeStateID="QueueOK" HealthState="Success"/>
<OperationalState ID="QueueWarn" MonitorTypeStateID="QueueWarn" HealthState="Warning"/>
<OperationalState ID="QueueError" MonitorTypeStateID="QueueError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Frequency>300</Frequency>
<TimeoutSeconds>300</TimeoutSeconds>
<WarnThreshold>20</WarnThreshold>
<ErrorThreshold>50</ErrorThreshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>