Windows 2012 R2 DNS SEC - 区域密钥滚动更新状态监视器

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

此监视器检查 Windows Server 2012 R2 计算机中的区域的密钥滚动更新状态。

Knowledge Base article:

摘要

此监视器会使用 powershell commandlet 检查区域的密钥滚动更新状态是否正常

配置

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

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

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

原因

密钥滚动更新出错: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>