Sending Alerts and xAlerts to a script
This procedure describes how to send alerts and xAlerts to a script.
To send alerts and xAlerts to a script:
- From the CCM, define the following system parameters, as described in Defining Control-M/EM system parameters:
- SendAlarmToScript: Define the full path name of the script that is activated when an alert is generated.
- SendSNMP: Change the value to 1 to send alerts to a script only.
- SendAlertNotesSnmp: Change the value to 1 if you want to send the NOTES field to a script.
- SNMPSendActive: Change the value to 1 to generate SNMP messages to a script.
- XAlertsEnableSending: Change the value to 1 to enable xAlert sending.
- XAlertsSend2Script: Define the full path name of the script that is activated when an xAlert is generated.
- XalertsSendSnmp: Change the value to 2 to send xAlerts to a script only.
For more information about Alert parameters, see Control-M/EM general parameters.
- Recycle the Gateway.