MECM SQL Writer Service Availability Monitor

MECM.SqlWriter.Service.Monitor (UnitMonitor)

This monitor checks the availability of SQL Writer Service.

Knowledge Base article:

Summary

This monitor checks the status of the SQL Server VSS Writer service (SQLWriter). If you receive an alert from this monitor, action is required to bring the service back to an operational state.

Causes

A service can stop for many reasons, including:

Resolutions

If the SQL Server VSS Writer service is not running you can diagnose the issue or restart the service by taking the following actions:

Element properties:

TargetMECM.SQLServer
Parent MonitorMECM.SiteRole.AggregateRollup.Monitor
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMECM.Service.MT
RemotableTrue
AccessibilityPublic
Alert Message
MECM SQL Writer Service Not Running
The {0} service on computer {1} is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="MECM.SqlWriter.Service.Monitor" Accessibility="Public" Enabled="true" Target="MECM.SQLServer" ParentMonitorID="MECM.SiteRole.AggregateRollup.Monitor" Remotable="true" Priority="Normal" TypeID="MECM.Service.MT" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="MECM.SqlWriter.Service.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='DisplayName']$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</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"]/PrincipalName$</ComputerName>
<ServiceName>SQLWriter</ServiceName>
<IntervalSeconds>120</IntervalSeconds>
<MatchCount>5</MatchCount>
</Configuration>
</UnitMonitor>