DFS-R: Service Availability

Microsoft.Windows.FileServer.DFSR.ServiceStoppedMonitor (UnitMonitor)

This object monitors the DFS Replication service and creates a Critical alert if it stops.

Knowledge Base article:

Summary

This object monitors the DFS Replication service and creates a Critical alert if it stops.

Causes

An unhealthy state of this monitor indicates that the DFS Replication service is stopped. This can occur if an administrator stops the service for maintenance.

Resolutions

Wait for the DFS Replication service to start

No action is required. DFS Replication will attempt to start the DFS Replication service 30 minutes after it stops.

To manually start the DFS Replication service, do one of the following:

Note: To start a service, you must be a member of the local Administrators group on the affected server. You can also start services using the Services snap-in, the Windows PowerShell Start-Service cmdlet, or command-line tools such as net start.

Verification

This monitor automatically resets to a healthy state when the DFS Replication service starts.

To confirm that the service is in the STARTED state, do one of the following:

Note: To query the service state, you must be a member of the local Administrators group on the affected server.

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.Service
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-R: DFS Replication Service Is Stopped
The DFS Replication service is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.ServiceStoppedMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Service" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.ServiceStoppedMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</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>DFSR</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>