Microsoft Windows Server DNS 区域状态

Microsoft.Windows.DNSServer.2016.Zone.State (UnitMonitor)

检查 WMI 的区域状态

Knowledge Base article:

摘要

在 WMI 命名空间“root\MicrosoftDNS”中执行 WQL 查询“Select Name, Shutdown, Paused from MicrosoftDNS_Zone”

配置

间隔(秒):此监视器执行 WMI 查询的间隔。

原因

严重:关闭 = True

警告:关闭 = False,暂停 = True

正常:关闭 = False,暂停 = False

解决方法

在 DNS 管理工具中启动区域。

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Zone
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DNSServer.2016.ZoneState.Monitor
RemotableTrue
AccessibilityPublic
Alert Message
Windows DNS - 区域状态为“不运行”

区域:{0}
服务器:{1}
请参阅运行状况资源管理器以了解详细信息。
RunAsMicrosoft.Windows.DNSServer.2016.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2016.Zone.State" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.Zone" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.DNSServer.2016.ActionAccount" TypeID="Microsoft.Windows.DNSServer.2016.ZoneState.Monitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DNSServer.2016.Zone.State_AlertMessageResourceID">
<AlertOnState>Warning</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="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>