LDAP 绑定时间监视器

Microsoft.Windows.Server.2012.AD.Performance.BindTimes.Monitor (UnitMonitor)

监视域控制器的 ldap 绑定时间。

Knowledge Base article:

摘要

此监视器使用 LDAP (轻型目录访问协议)请求验证 Active Directory 的可用性。它会定期绑定到域控制器以使用 LDAP 查询验证可用性。

此监视器允许监视非 SSL 和/或 SSL 类型的绑定。

配置

此监视器提供了以下有关配置的信息:

IntervalSeconds:监视器的运行频率(秒)

NumSamples:监视器需要超出阈值多少次后才生成警报

ThresholdWarnSec:警告阈值(秒)

ThresholdWarnError:错误阈值(秒)

MonitorBindType:1) 非 SSL,2) SSL,3) 非 SSL 和 SSL

原因

可能的原因包括:

解决方案

查看警报中的错误说明以了解更多信息。

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

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

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

外部

Element properties:

TargetMicrosoft.Windows.Server.2012.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2012.AD.ResponseMonitors.Performance.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.2012.AD.Performance.BindTimes.Monitortype
RemotableFalse
AccessibilityPublic
Alert Message
LDAP 绑定时间运行状况监视器超出了一个或多个阈值。
运行状况监视器脚本超出了平均绑定时间的一个或多个阈值。
计数器: {0}
平均时间: {1}
样本数:{2}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.AD.Performance.BindTimes.Monitor" Accessibility="Public" Enabled="true" Target="AD2012Core!Microsoft.Windows.Server.2012.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2012.AD.ResponseMonitors.Performance.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.2012.AD.Performance.BindTimes.Monitortype" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.AD.Performance.BindTimes.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="ResponseOK" MonitorTypeStateID="ResponseOK" HealthState="Success"/>
<OperationalState ID="ResponseWarn" MonitorTypeStateID="ResponseWarn" HealthState="Warning"/>
<OperationalState ID="ResponseError" MonitorTypeStateID="ResponseError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<MonitorBindType>1</MonitorBindType>
<ThresholdWarnSec>5</ThresholdWarnSec>
<ThresholdErrorSec>10</ThresholdErrorSec>
<NumSamples>5</NumSamples>
</Configuration>
</UnitMonitor>