To use PMI alerting, the business process that is actually to be mapped must be set up in the central monitoring system. To do this, copy a template, adjust it to the business process if necessary, and maintain the relevant runtime data.
Prerequisites
You are in the central monitoring system.
Context
If the process type is recorded in Business Process Monitoring (BPM) in the Solution Manager, perform these steps using BPM.
The following assumes that neither BPM nor the API that can also be used to perform the configuration are used.
Procedure
To copy the template in transaction SPIM, proceed as follows:
Select a suitable template and copy it.
Adjust the process description.
Check the steps, relationships, transitions, and metrics and, if necessary, change the requirements.
To set the Customizing data in transaction SPIM, proceed as follows:
Under Steps, specify a destination for each process step, through which the respective agent on the production system is accessible for the PMI from the central monitoring system.
Create a local data destination through which the PMI runtime data is “collected”. The local data destination is the destination with which the PMI can call from the central system into the system in which the agent stores the runtime data.
Save your entries, check the process, and release the process.
Now you have to define the metrics for the runtime. Use the metric API class CL_SPI_METRIC_ADMIN for this.
To set the threshold values in transaction SPIO, proceed as follows:
Start the transaction SPIO with the default values and select your process, if the metric API is not integrated into the application instrumentation.
Go to the Metric Overview and, under Settings, maintain the following values for all metrics (except Counter Without Condition):
Value
Description
Condition
Value (Field Value, Status, Runtime in Seconds) at which the alert is to be triggered
Timeout
Length of time after which an alert is to be triggered if the step has not been performed
Termin. Frequency
Maximum number of alerts to be successively triggered
Activate the metrics.
To configure the administration data, proceed as follows:
In process administration, define the assembler conditions and the retention periods for process instances.
Define how long successful processes (with alerts), open processes, and processes with errors are to be retained.