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>