Service Alert Script Configuration
Service Alert has the ability to deliver notifications via scripts. The notification content is passed to the script as standard input. The script is expected to return 0 in case of a successful execution. The script is executed by the Corba Publisher process, which is used to deliver Service Alert notifications.
The list of scripts available to Service Alert is stored in the PUBLISHER_SCRIPTS database table.
 
Column
Description
SCRIPT_ID
Unique script identifier. This value will be displayed in the Service Alert Administration tool.
APP
Application that uses this script. For Service Alert, this should be service_alert.
PATH
Full path to the executable.
DESCRIPTION
Script description.
 
Example of Adding a Script
INSERT INTO publisher_scripts (script_id, app, path, description)
VALUES ('cat', 'service_alert', '/bin/cat',
'Print input to standard output');