Exchange 2007 Log Shipping Service Monitor

Microsoft.Exchange2007.ServiceMonitor.Replication.OnLogShipping (UnitMonitor)

This monitors the health of the log shipping service

Knowledge Base article:

Summary

This monitor uses Windows Management Instrumentation (WMI) to check the status of the Exchange Replication service and generates an alert when the service is set to start automatically and is not running.

Note that an alert is not generated when the service is disabled and a healthy state will be shown.

Causes

A service can stop for many reasons, including:

Resolutions

You can attempt to restart the service.

Element properties:

TargetMicrosoft.Exchange2007.Component.LogShipping
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Replication Service Stopped
The Exchange Replication Service on Exchange server {0} has stopped running
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Exchange2007.ServiceMonitor.Replication.OnLogShipping" Accessibility="Public" Enabled="onEssentialMonitoring" Target="ExLibrary!Microsoft.Exchange2007.Component.LogShipping" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Exchange2007.ServiceMonitor.Replication.OnLogShipping.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>MSExchangeRepl</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>