Set Job alert message

All questions about Control-M jobs definitions
Post Reply
User avatar
tux_dude
Nouveau
Nouveau
Posts: 13
Joined: 17 Sep 2007 12:00

Set Job alert message

Post by tux_dude » 03 Oct 2007 8:07

Is there anyway to set the alert message of a job? For some jobs I would like to have a specific message such as 'Contract support group' rather than the plain 'Ended Not OK'.

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 04 Oct 2007 4:33

Add a shout to ECS (all upper case) with your own wording. This is in additional to the Ended not OK message for all failed jobs, which is the default for AlertOnAbend parameter in EM.

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

Post by mauriziog » 04 Oct 2007 11:11

I complete gglau:
in the step panel you can define how many messagge you want and send them to alert window with the DO-SHOUT option.
In the destination (=TO) put ECS and in the message the string you want.
When the job run and the step statement occur the job send a message to Alerts; if you bring open the connection you'll see the tab blinking say to you that an alert is arrived.

The alert windows ofthen is used as first and principal tool of control work in EM.

User avatar
tux_dude
Nouveau
Nouveau
Posts: 13
Joined: 17 Sep 2007 12:00

Post by tux_dude » 05 Oct 2007 8:36

Thank you both for your reply. I am halfway to what I want to accomplish. How can I suppress or append the ENDED NOT OK alert on a per job basis? I do not want multiple alerts per job.

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 09 Oct 2007 4:08

Ended not OK alert is a global setting. You can disable it cmpletely and then send a shout to ECS when NOTOK for the jobs you want to have such alert.

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

Post by mauriziog » 09 Oct 2007 3:18

Is a GATEWAY parameter in the Enterprise manager System parameters:

AlertOnAbend
Flag that indicates whether alerts are (1) or are not (0) sent for jobs that end NOTOK. Default: 1

If you want to turn it off set this parameter to 0.

User avatar
tux_dude
Nouveau
Nouveau
Posts: 13
Joined: 17 Sep 2007 12:00

Post by tux_dude » 09 Oct 2007 6:36

Don't want to disable the default alert. Would be nice if it could be modified on a per job basis. There is a wish to modify the severity level (WECS005893). Hope they will add the option to suppress the alert per job.

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 11 Oct 2007 10:13

probably you have to use java for control-m / EM developing .
see Control-m / EM Manager API developers guide to understand what you really need to set up Alerts from command line.
As i can know, even you directly set up ALARM table, you won't be abble to set GAS display (from red to white or somethink else...)
I've open a BMC call and wait for a developed solution...
regards
Philmalmaison

User avatar
SKSKD
Nouveau
Nouveau
Posts: 9
Joined: 12 Aug 2013 12:00

Re: Set Job alert message

Post by SKSKD » 01 Oct 2014 2:10

Hi ,

Can we disble the default alert when a job unable to delete a condition ,it it used to throwing aler to GCS as "Unable to Delete Condition"
So can you please help us to find the solution to disable this.

User avatar
SKSKD
Nouveau
Nouveau
Posts: 9
Joined: 12 Aug 2013 12:00

Re: Set Job alert message

Post by SKSKD » 03 Oct 2014 11:44

Hi All,

I got the update on BMC knowledge base.
Knowledge Article ID:KA360781
Need to update on config.dat file on Control-M server path
Please check on BMC for details.

Thanks.

Post Reply