Windows 2012 R2 DNS SEC - 區域金鑰變換狀態監視器

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

此監視器會檢查 Windows Server 2012 R2 電腦中區域的金鑰變換狀態。

Knowledge Base article:

摘要

此監視器會使用 PowerShell Commandlet 檢查區域的金鑰變換狀態是否為正常

設定

間隔秒數:值的檢查頻率 (以秒為單位)。

同步處理時間:模組執行同步處理時間。

逾時秒數:模組等待完成執行的時間長度 (以秒為單位)。

原因

金鑰變換出現錯誤:KeyCurrentRolloverStatus = RollError

金鑰變換狀態為正常:KeyCurrentRolloverStatus = NOT RollError

解決方式

使用 DNS 管理工具檢查區域的金鑰變換狀態以查看其是否出現錯誤。

Element properties:

TargetMicrosoft.Windows.Server.DNS.Zone
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.DNS.2012.R2.Zone.KeyRolloverState.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows 2012 R2 DNS SEC - 區域金鑰變換出現錯誤
伺服器 {1} 中區域 {0} 的金鑰變換出現錯誤
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.DNS.2012R2.Monitor.DNSSEC.KeyRolloverState" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.DNS.Zone" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.DNS.2012.R2.Zone.KeyRolloverState.MonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.DNS.2012R2.Monitor.DNSSEC.KeyRolloverState.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="KeyRollOverError" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="KeyRollOverNoError" 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>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>