Background Job Duration

ozsoft.sap.Monitor.Job.Duration (UnitMonitor)

SAP Background Job Duration (start/end sec)

Knowledge Base article:

Summary

Last Completed Job Duration (seconds). This is actual total Runtime, calculated when job is Finished or Canceled

Configuration

The Monitor is disabled by default - please enable it if required. You should set the threshold value based on the current requirements

Causes

Job Duration is below the threshold

Resolutions

Please consult your Basis Administrator

Element properties:

Targetozsoft.sap.Job
Parent MonitorSystem.Health.PerformanceState
CategoryOperations
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor Typeozsoft.sap.CCMSMetricMonitorType2
RemotableTrue
AccessibilityPublic
Alert Message
Background Job Duration
Background Job (User: {0}) Duration is {1} seconds
RunAsDefault

Source Code:

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