Table of Contents

Work processes

Work processes are the actual workers in SAP. It is important to check their state, availability and run time. 
This monitor will watch work processes of all kinds, with the ability to tune the monitoring for specific tasks or cases.
It will detect long running processes, stopped or private processes, compute the usage ratio,
and notify as soon as a threshold on those metrics is reached.

Configuration hints

Task filter

State filter

Runtime threshold

Count threshold

Aggregate settings

Note:

Surveillance table

ParameterDescription
ActiveUse this field to activate or deactivate a line of configuration.
TaskThe type of workprocess to watch, or ANY to watch all.
StatusWatch for the processes of the given status
UserA filter to match only the process used by the given user. Regular expressions may be used.
Runtime threshold (elapsed in sec)The threshold for the maximum runtime (seconds) of a given process. Does not depend on the configured status.
Count threshold (nb or %)The threshold for the number of processes being in the defined status. Use an absolute value or a percentage of the total number of processes available for the given task (specify % unit).
SeverityThe level of severity of the alarm generated by this line of surveillance.
AggregateIf checked, The total number of WPs matching the filter will be reported.
Per instanceIf checked, The workprocesses usage will computed by instance, instead of globally
Auto clearIf checked, the alarm will be cleared as soon as the alarm condition is not met anymore.
Alarm tagThis field allows to add custom text within the alarm message. %MSG% variable will contain the actual generated message and can be used such as: “my_prefix %MSG% my_suffix”. By default, tag will be used as prefix.
AlarmIf checked, this line of surveillance will be used for alarm generation.
MetricIf checked, this line of surveillance will be used for QOS generation.
ReportIf checked, this line of surveillance will used for showing threshold and severity in the daily report

Examples

ActiveTaskStatusUserRuntime threshold (elapsed in sec)Count threshold (nb or %)SeverityAuto clearAlarm tagAlarmMetricReport
trueDIALOGRUNNING*9080%MAJORtrue truefalsefalse

Effect : Send a MAJOR alarm for any DIALOG process running a task since more than 90 sec or if 80% of the DIALOG processes are in RUNNING state.

Examples

ActiveTaskStatusUserRuntime threshold (elapsed in sec)Count threshold (nb or %)SeverityAuto clearAlarm tagAlarmMetricReport
trueDIALOGPRIV*01CRITICALtrue truefalsefalse

Effect : Send a CRITICAL alarm if one DIALOG process is in PRIVATE status

Examples

ActiveTaskStatusUserRuntime threshold (elapsed in sec)Count threshold (nb or %)SeverityAuto clearAlarm tagAlarmMetricReport
trueANYSTOPPED*01CRITICALtrue truefalsefalse

Effect : Send a CRITICAL alarm if any process is in STOPPED state

Examples

ActiveTaskStatusUserRuntime threshold (elapsed in sec)Count threshold (nb or %)SeverityAuto clearAlarm tagAlarmMetricReport
trueSPOOLRUNNINGJDOE1200WARNINGfalse truefalsefalse

Effect : Send a WARNING alarm each time user JDOE runs a SPOOL task for more than 120 seconds. Do not clear the alarm

Generated metrics

metricIdmetricUnitmetricTargetmetricDescription
WORKPROCESSES_PERCENTAGE_USEDPercent or Work processes[INSTANCE][TASK][STATUS]Sends the usage ratio of a work process of a given type
WORKPROCESSES_USED_COUNTPercent or Work processes[INSTANCE][TASK][STATUS]Sends the number of a work processes of a given type
WORKPROCESSES_FREE_COUNTWork processes[INSTANCE][TASK]Sends the number of work processes in WAITING state for a given task