Microsoft Windows Server DNS Zone State

Microsoft.Windows.Server.DNS.Zone.State (UnitMonitor)

Checks the zone state with WMI

Knowledge Base article:

Summary

Performs the WQL query “Select Name, Shutdown, Paused from MicrosoftDNS_Zone” in the WMI namespace “root\MicrosoftDNS”

Configuration

Interval Seconds: The interval at which this monitor performs the WMI query.

Causes

Critical: Shutdown = True

Warning: Shutdown = False and Paused = True

Healthy: Shutdown = False and Paused = False

Resolutions

Start the zone in the DNS management tool.

Element properties:

TargetMicrosoft.Windows.Server.DNS.Zone
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.DNS.ZoneState.Monitor
RemotableTrue
AccessibilityPublic
Alert Message
Windows DNS - Zone Is Not Running

Zone: .{0}
Server: {1}

Please see Health Explorer for details.
RunAsMicrosoft.Windows.Server.DNS.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.DNS.Zone.State" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.DNS.Zone" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.Server.DNS.ActionAccount" TypeID="Microsoft.Windows.Server.DNS.ZoneState.Monitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.DNS.Zone.State_AlertMessageResourceID">
<AlertOnState>Warning</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="UIGeneratedOpStateId97a0e95f8ae745fb840d1917f5100271" MonitorTypeStateID="Shutdown" HealthState="Error"/>
<OperationalState ID="UIGeneratedOpStateId8aa82ed1ed9f4be4a3adb51a52742bbf" MonitorTypeStateID="Paused" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateId2048812553ba448ca979991ae4fa1067" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>920</IntervalSeconds>
</Configuration>
</UnitMonitor>