Emailing Alerts from the GAS

A lot of scripts ans example to extract information from Control-M tools.
Post Reply
User avatar
Andrew
Nouveau
Nouveau
Posts: 6
Joined: 08 Jan 2007 12:00

Emailing Alerts from the GAS

Post by Andrew » 15 Jan 2007 11:28

Good day,

I have read the 'Gen Alarm' topic and would like to know, is there a way to email the 'Very Urgent' alerts that are displayed in the GAS to a specific email address? Not everyone has setup shouts so I would like to receive alerts on job failures, etc.

Thanks
Andrew

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Post by fyot » 15 Jan 2007 1:46

Hi,

If you don't want to use DO SHOUT, you can use SNMP Forward.
Using Administration Facility or Configurtion Manager (6.3.01) you can modify System Parameters.

Those parameters give you some possibilities to forward all GAS messages. You must modify following parameters:

Bmc documentation
SendAlarmToScript
Full path name of the script that is activated when an alert is generated. This script is activated only if the value of SendSnmp is either 1 or 2. Default: script_name
SendSnmp Indicates where Alert data is to be sent. Valid values:
0 ? SNMP only (default)
1 ? User-defined script only
2 ? SNMP and user-defined script

SnmpHost
Host name for SNMP alerts. Default: no_host

SnmpSendActive
SNMP messages for Active Alerts are (1) or are not (0) generated.
Default: 0

SnmpSendDemo
SNMP messages for Demo Alerts are (1) or are not (0) generated.
Default: 0

SnmpSendFormat
Determines the SNMP message format.
0 ? Single Variable format
1 ? Multiple Variable format
2 ? Both formats (default)

You will find snmp information in Control-EM Adminidration Guide.

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 20 Jun 2007 7:25

I add to the fyot answer:

when the message is successfully send to the script this must read the message parse it and only if the urgence is "V" send an e-mail using a batch command to do it.

Post Reply