Windows DNS Server 2016 和 1709+ Detect Unused Zone

Microsoft.Windows.DNSServer.2016.Monitor.DetectUnusedZone (UnitMonitor)

此監視器會偵測 DNS 伺服器上未使用的區域。如果一個區域在一段長時間內未看到任何活動,此監視器就會發出警告。

Knowledge Base article:

摘要

此監視器會評估在指定之 Windows Server 2016 和 1709+ DNS 區域間隔中所收到的查詢數差異值。如果差異值等於 0,監視器就會變更狀態並產生警示。

設定

間隔 (秒):差異評估值之間的秒數。

同步時間:指定強制執行 Windows 指令碼的時間。

逾時 (秒):指定在終止指令碼之前,允許指令碼執行的秒數上限。

原因

未使用 DNS 伺服器上的區域。

解決方式

驗證區域設定。

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Zone
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DNSServer.2016.DetectUnusedZones.UnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows DNS 2016 和 1709+ - Detect Unused Zone
上次間隔中未使用目前的區域
RunAsMicrosoft.Windows.DNSServer.2016.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2016.Monitor.DetectUnusedZone" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.Zone" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DNSServer.2016.DetectUnusedZones.UnitMonitorType" ConfirmDelivery="true" RunAs="Microsoft.Windows.DNSServer.2016.ActionAccount">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DNSServer.2016.Monitor.DetectUnuzedZone_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ZoneName>$Target/Property[Type="Microsoft.Windows.DNSServer.2016.Zone"]/ZoneName$</ZoneName>
<IntervalSeconds>86400</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>240</TimeoutSeconds>
</Configuration>
</UnitMonitor>