Windows 2016 and 1709+ DNS SEC - Zone Key Master Status Monitor

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

This monitor checks the Key Master Status of the Zone in Windows Server 2016 and 1709+ computer.

Knowledge Base article:

Summary

This monitor checks if the Key Master Status of the zone is On Line using a powershell commandlet

Configuration

Interval Seconds: How frequently (in seconds) the value should be checked.

Sync Time: Synchronization time for the module execution.

Timeout Seconds: How much time (in seconds) to wait for the module to finish execution.

Causes

Key Master Is Off Line: KeyMasterStatus = OffLine

Key Master is On Line: KeyMasterStatus = OnLine

Resolutions

Check the status of the Key Master of the zone to see if it is on line using the DNS management tool.

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 and 1709+ DNS SEC - Zone Key Master Status is Off Line
The Key Master of Zone {0} in Server {1} is Off Line
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>