DNS Service Running Monitor

Microsoft.Windows.DNSServer.2008.Monitor.Server.ServiceState (UnitMonitor)

Knowledge Base article:

Summary

The DNS service is required for DNS Server operation.

Causes

A service can stop for many reasons, including:

Resolutions

If the service is stopped, you can attempt to restart it

The status of the service can be viewed with the Services snap-in which can be accessed through the Computer Management console task

Element properties:

TargetMicrosoft.Windows.DNSServer.2008.Server
Parent MonitorMicrosoft.Windows.DNSServer.2008.Monitor.ServiceHealthRollup
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityInternal
Alert Message
DNS Service Running Alert
The DNS Service on {0} is not running. DNS requests will not be serviced until this service is restarted.
RunAsMicrosoft.Windows.DNSServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2008.Monitor.Server.ServiceState" Accessibility="Internal" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.DNSServer.2008.Server" ParentMonitorID="Microsoft.Windows.DNSServer.2008.Monitor.ServiceHealthRollup" Remotable="true" Priority="Normal" RunAs="DNS!Microsoft.Windows.DNSServer.Library.ActionAccount" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DNSServer.2008.Monitor.Server.ServiceState_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>DNS</ServiceName>
<CheckStartupType>4</CheckStartupType>
</Configuration>
</UnitMonitor>