Windows 2012 R2 DNS SEC - 名称解析查询监视器

Microsoft.Windows.Server.DNS.2012R2.Monitor.DNSSEC.NameResolutionQueries (UnitMonitor)

此监视器检查 Windows Server 2012 R2 计算机中名称解析查询的性能数据。

Knowledge Base article:

摘要

此监视器会使用 powershell commandlet 在 Windows Server 2012 R2 计算机中检查区域的名称解析查询错误

配置

警告查询失败阈值:状态更改为“警告”之前的最低查询失败错误数量。

错误查询失败阈值:状态更改为“错误”之前的最大查询失败错误数量。

警告查询名称失败阈值:状态更改为“警告”之前的最低查询名称错误数量。

错误查询名称失败阈值:状态更改为“错误”之前的最大查询名称错误数量。

间隔(秒):对值进行检查的频率(秒)。

同步时间:模块执行的同步时间。

超时(秒):等待模块完成执行的时间(秒)。

原因

错误状态:查询失败大于错误查询失败阈值,或查询名称错误大于错误查询名称阈值

警告状态:查询失败大于警告查询失败阈值且查询失败小于错误查询失败阈值,或查询名称错误大于警告查询名称阈值且查询名称错误小于错误查询名称阈值

成功状态:QueryReceived = QueriesResponded,查询失败小于或等于警告查询失败阈值且查询名称错误小于或等于警告查询名称阈值

解决方案

使用 DNS 管理工具检查区域状态以查看其是否联机。

Element properties:

TargetMicrosoft.Windows.Server.DNS.Zone
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.DNS.2012.R2.NameResolutionQueries.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows 2012 R2 DNS SEC - 区域名称解析查询错误很高
服务器 {1} 中区域 {0} 的名称解析查询错误大于定义的阈值。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.DNS.2012R2.Monitor.DNSSEC.NameResolutionQueries" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.DNS.Zone" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.DNS.2012.R2.NameResolutionQueries.MonitorType" ConfirmDelivery="true">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.DNS.2012R2.Monitor.DNSSEC.NameResolutionQueries.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.Server.DNS.Zone"]/ZoneName$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ErrorState" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="WarningState" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="SuccessState" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ZoneName>$Target/Property[Type="Microsoft.Windows.Server.DNS.Zone"]/ZoneName$</ZoneName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<WarningQueryFailureThreshold>0</WarningQueryFailureThreshold>
<ErrorQueryFailureThreshold>10</ErrorQueryFailureThreshold>
<WarningQueryNameFailureThreshold>0</WarningQueryNameFailureThreshold>
<ErrorQueryNameFailureThreshold>10</ErrorQueryNameFailureThreshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>