Windows 2016 en 1709+ DNS SEC - monitor voor de status van de sleutelmaster van de zone

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

Met deze monitor wordt de status van de sleutelmaster van de zone gecontroleerd op de Windows Server 2016 en 1709+-computer.

Knowledge Base article:

Samenvatting

Met deze monitor wordt via een PowerShell-cmdlet gecontroleerd of de de sleutelmaster van de zone de status Online heeft.

Configuratie

Interval in seconden: met welke regelmaat (in seconden) de waarde moet worden gecontroleerd.

Synchronisatietijd: Synchronisatietijd voor de uitvoering van de module.

Time-out in seconden: Hoeveel tijd (in seconden) er moet worden gewacht tot de module volledig is uitgevoerd.

Oorzaken

De sleutelmaster is offline: KeyMasterStatus = OffLine

De sleutelmaster is online: KeyMasterStatus = OnLine

Oplossingen

Gebruik het hulpprogramma voor DNS-beheer om aan de hand van de status van de hoofdsleutel van de zone te controleren of de zone online is.

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 en 1709+ DNS SEC - de status van de sleutelmaster van de zone is Offline
De sleutelmaster van de zone {0} op de server {1} is offline
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>