Hi,
I have a job which sometimes runs for longer than the usual time.
I want to send an alert notification to the business if the job runs more than a certain time using BIM.
For that, I have created a test job which runs for around three minutes and I want to send an email alert it runs more than one minute. I have created a BIM job and in the servicing alert rules, I specified
on event --> Job is late
Do Action --> Mail
In the time constrints tab, I specified "must complete by" "00:01" and tolerance as "0" minutes respectively
But the job ran successfully without any alert.
Can you tell me where did I go wrong and where should I modify the things.
Regards,
Raj
To send an alert notification if the job runs late
- rajesekhar
- Nouveau
- Posts: 72
- Joined: 07 Dec 2007 12:00
This absolutely the incorrect application of BIM. Its like killing a fly with a shot gun.
BIM is for monitoring critical batch streams and not individual jobs.
To send an email alert if the job runs long, create a "shout" email destination. In the post processing tab :
Exectime: >01
Destination: Logical Name of destination that you defined
Message: %%JOBNAME is running long - please investigate
An email will be sent to the email destination you defined in the "shout" with the message in the subject line. You can even add the %%$ODATE to the shout if you want.
BIM is for monitoring critical batch streams and not individual jobs.
To send an email alert if the job runs long, create a "shout" email destination. In the post processing tab :
Exectime: >01
Destination: Logical Name of destination that you defined
Message: %%JOBNAME is running long - please investigate
An email will be sent to the email destination you defined in the "shout" with the message in the subject line. You can even add the %%$ODATE to the shout if you want.
- rajesekhar
- Nouveau
- Posts: 72
- Joined: 07 Dec 2007 12:00
In the BIM tab - did you set the email to go out when the service is late or when the job is late?
The email address also needs to be the full smtp address:
name@address.someting
The email address also needs to be the full smtp address:
name@address.someting
- rajesekhar
- Nouveau
- Posts: 72
- Joined: 07 Dec 2007 12:00