SnapMgrExchBackupJobLastRunStatusMonitor

Bostwick.SnapManager.SnapMgrExchBackupJobLastRunStatusMonitor (UnitMonitor)

This monitors the result of the last time the backup task completed. It will ignore running jobs.

Element properties:

TargetBostwick.SnapManager.SnapMgrExchBackupJob
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSnapMgrExchBackupJobLastRunResultMonitor
RemotableTrue
AccessibilityPublic
Alert Message
Snap Manager for Exchange Backup did not succeed without error.
The Last run state of the {0} was {1}.

Please review the backups for this system.
RunAsDefault

Source Code:

<UnitMonitor ID="Bostwick.SnapManager.SnapMgrExchBackupJobLastRunStatusMonitor" Accessibility="Public" Enabled="true" Target="Bostwick.SnapManager.SnapMgrExchBackupJob" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SnapMgrExchBackupJobLastRunResultMonitor" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Bostwick.SnapManager.SnapMgrExchBackupJobLastRunStatusMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type='Bostwick.SnapManager.SnapMgrExchBackupJob']/Name$</AlertParameter1>
<AlertParameter2>$Data/Context/DataItem/Property[@Name='LastTaskResult']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Red" MonitorTypeStateID="Red" HealthState="Error"/>
<OperationalState ID="Green" MonitorTypeStateID="Green" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Name>$Target/Property[Type='Bostwick.SnapManager.SnapMgrExchBackupJob']/Name$</Name>
</Configuration>
</UnitMonitor>