Vérifie l'état de la zone avec WMI
Exécute la requête WQL « Select Name, Shutdown, Paused from MicrosoftDNS_Zone » dans l’espace de noms WMI « root\MicrosoftDNS »
Intervalle en secondes : Intervalle selon lequel ce moniteur exécute la requête WMI.
Critique : Shutdown = True
Avertissement : Shutdown = False et Paused = True
Intègre : Shutdown = False et Paused = False
Démarrer la zone dans l'outil de gestion du DNS.
Target | Microsoft.Windows.DNSServer.2016.Zone | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.DNSServer.2016.ZoneState.Monitor | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DNSServer.2016.ActionAccount |
<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>