How to send alerts from Control-M/Enterprise Manager to a script? - INCLUDES VIDEO
Knowledge Article
How to send alerts from Control-M/Enterprise Manager to a script? - INCLUDES VIDEO
How to send alerts from Control-M/Enterprise Manager to a script?
Control-M/Enterprise Manager
Control-M/Enterprise Manager
Control-M/Enterprise Manager version 7.0.00 and above
Control-M/Enterprise Manager
Control-M/Enterprise Manager
Control-M/Enterprise Manager version 7.0.00 and above
How to send Alerts from Control-M/Enterprise Manager to a script?
1. Logon Control-M Configuration Manager 2. Open Control-M/EM System Parameters window 3. Go to Advanced tab 4. Search parameter of 'SendSnmp' and set its value to 1 5. Search parameter of 'SendAlarmToScript' and set its value to the path and name of the script 6. Restart the Gateway to take effect the change
Below is an example of the script for your reference, this script will direct the alerts to the file of snmptest.out On UNIX: #!/bin/sh echo $* > /tmp/snmptest.out
On Windows: echo %* > c:\snmptest.out
Control-M/Enterprise Manager
Control-M/Enterprise Manager
Control-M/Enterprise Manager version 7.0.00 and above