SnapMgrSQLJobLastRunStateMonitor
Bostwick.SnapManager.SnapMgrSQLJobLastRunStateMonitor (UnitMonitor)
This monitors the state of the last backup job
Element properties:
Source Code:
<UnitMonitor ID="Bostwick.SnapManager.SnapMgrSQLJobLastRunStateMonitor" Accessibility="Public" Enabled="true" Target="Bostwick.SnapManager.SnapMgrSQLJob" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SnapMgrSQLJobLastRunStateMonitor" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Bostwick.SnapManager.SnapMgrSQLJobLastRunStateMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/DataItem/Property[@Name='LastRunStatusMessage']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Red" MonitorTypeStateID="Red" HealthState="Error"/>
<OperationalState ID="Yellow" MonitorTypeStateID="Yellow" HealthState="Warning"/>
<OperationalState ID="Green" MonitorTypeStateID="Green" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Name>$Target/Property[Type='Bostwick.SnapManager.SnapMgrSQLJob']/Name$</Name>
</Configuration>
</UnitMonitor>