Windows 2016 和 1709+ DNS SEC - 区域密钥主机状态监视器

Microsoft.Windows.DNSServer.2016.Monitor.DNSSEC.KeyMasterState (UnitMonitor)

此监视器检查 Windows Server 2016 和 1709+ 计算机中的区域的密钥主机状态。

Knowledge Base article:

摘要

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

配置

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

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

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

原因

密钥主机已脱机:KeyMasterStatus = OffLine

密钥主机已联机:KeyMasterStatus = OnLine

解决方法

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

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Zone
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DNSServer.2016.Zone.KeyMasterStaus.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows 2016 和 1709+ DNS SEC - 区域密钥主机状态为脱机
服务器 {1} 中区域 {0} 的密钥主机已脱机
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2016.Monitor.DNSSEC.KeyMasterState" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.DNSServer.2016.Zone" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DNSServer.2016.Zone.KeyMasterStaus.MonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DNSServer.2016.Monitor.DNSSEC.KeyMasterState.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.DNSServer.2016.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.DNSServer.2016.Zone"]/ZoneName$</ZoneName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>