Windows 2012 R2 DNS SEC - 区域密钥主机状态监视器

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

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

Knowledge Base article:

摘要

此监视器会使用 powershell commandlet 检查区域的密钥主机状态是否为联机

配置

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

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

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

原因

密钥主机已脱机:KeyMasterStatus = OffLine

密钥主机已联机:KeyMasterStatus = OnLine

解决方案

使用 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.KeyMasterStaus.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows 2012 R2 DNS SEC - 区域密钥主机状态为脱机
服务器 {1} 中区域 {0} 的密钥主机已脱机
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.DNS.2012R2.Monitor.DNSSEC.KeyMasterState" 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.KeyMasterStaus.MonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.DNS.2012R2.Monitor.DNSSEC.KeyMasterState.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="KeyMasterOffLine" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="KeyMasterOnLine" 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>