Last Successful Backup

ozsoft.sap.Monitor.UDB.Backup.LastSuccessful (UnitMonitor)

Days Since Last Successful Backup

Element properties:

Targetozsoft.sap.UDB
Parent MonitorSystem.Health.PerformanceState
CategoryOperations
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor Typeozsoft.sap.CCMSMetricMonitorType2
RemotableTrue
AccessibilityPublic
Alert Message
Last Successful Backup
{0} : {1} was {2} days ago
RunAsDefault

Source Code:

<UnitMonitor ID="ozsoft.sap.Monitor.UDB.Backup.LastSuccessful" Accessibility="Public" Enabled="false" Target="ozsoft.sap.UDB" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="ozsoft.sap.CCMSMetricMonitorType2" ConfirmDelivery="false">
<Category>Operations</Category>
<AlertSettings AlertMessage="ozsoft.sap.Monitor.UDB.Backup.LastSuccessful.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/ObjectName$</AlertParameter1>
<AlertParameter2>$Data/Context/CounterName$</AlertParameter2>
<AlertParameter3>$Data/Context/Value$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Under" MonitorTypeStateID="SDKMetricUnderLowThreshold" HealthState="Success"/>
<OperationalState ID="Between" MonitorTypeStateID="SDKMetricUnderHighOverLowThreshold" HealthState="Warning"/>
<OperationalState ID="Over" MonitorTypeStateID="SDKMetricOverHighThreshold" HealthState="Error"/>
</OperationalStates>
<Configuration>
<CounterName>last successful backup</CounterName>
<ObjectName>database backup</ObjectName>
<Frequency>120</Frequency>
<HighThreshold>14</HighThreshold>
<LowThreshold>7</LowThreshold>
</Configuration>
</UnitMonitor>