SnapMgrExchBackupLogFileAgeMonitor

Bostwick.SnapManager.SnapMgrExchBackupLogFileAgeMonitor (UnitMonitor)

This monitors the last write time of the last log file that snap manager created as age in days

Element properties:

TargetBostwick.SnapManager.SnapMgrExchBackupJob
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSnapMgrExchBackupLastRunTimeMonitor
RemotableTrue
AccessibilityPublic
Alert Message
Snap Manager for Exchange has not backed up in the last day.
The last time Snap Manager wrote to the log file was
{0}

Please review the backups for this system.
RunAsDefault

Source Code:

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