Alert-Triggered Scripts

You can write a shell script and configure an alert to execute the script.

Use scripts to help manage and respond to alerts. A script might trigger a visual alarm in a control center or send an e-mail message about the alert to a list of addresses (a way of supplementing the alert subscription feature, which accepts a single address).

When you configure an alert to execute a script, you:

Scripts are executed under the login account used to start SAP Control Center. Make sure that account has permissions that allow it to perform the actions contained in all scripts.

When a script executes, SAP Control Center logs the start time, end time, and status and exit codes to the alert services log. Log location:
Warning!  Use caution in writing scripts. A poorly designed script can cause a blocking situation, creating a deadlock in your SAP Control Center server.
Related concepts
Alerts
Related reference
SAP ASE Alerts
Alert Types, Severities, and States for SAP ASE
Alert-Triggered Script Examples
Substitution Parameters for Scripts