Page 1 of 1

To send an alert notification if the job runs late

Posted: 17 Jan 2008 10:02
by rajesekhar
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

Posted: 18 Jan 2008 7:44
by rdierk
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.

Posted: 18 Jan 2008 10:09
by rajesekhar
I do want to use BIM for a set of critical jobs.
But to start with, I am tryign to d it for only one job as I am very new to BIM

I can kill the job if it is running late but I am not able to send an email alert if its running late. I dont know whats the problem.

Regards,
Raj

Posted: 19 Jan 2008 3:00
by rdierk
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

Posted: 21 Jan 2008 5:03
by rajesekhar
I have kept "the service is late"
because the "job is late" parameter calculates for individual job statistics
and I have given the full email address, still its not working

Posted: 23 Jan 2008 6:46
by ranger67
I believe you may be running into this problem as there is no event during the runtime of your "flow". BIM updates every 5 minutes out of the box. Without an event to trigger a BIM function a shout is probably only evaluated at the BIM server refresh interval.