Windows 2016 和 1709+ DNS SEC - Zone Key Master Status 監視器

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>