To send an alert notification if the job runs late

Everything about Batch Impact Manager Server and Web access installation or setup.
Post Reply
User avatar
rajesekhar
Nouveau
Nouveau
Posts: 72
Joined: 07 Dec 2007 12:00

To send an alert notification if the job runs late

Post by rajesekhar » 17 Jan 2008 10:02

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

rdierk

Post by rdierk » 18 Jan 2008 7:44

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.

User avatar
rajesekhar
Nouveau
Nouveau
Posts: 72
Joined: 07 Dec 2007 12:00

Post by rajesekhar » 18 Jan 2008 10:09

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

rdierk

Post by rdierk » 19 Jan 2008 3: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

User avatar
rajesekhar
Nouveau
Nouveau
Posts: 72
Joined: 07 Dec 2007 12:00

Post by rajesekhar » 21 Jan 2008 5:03

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

User avatar
ranger67
Nouveau
Nouveau
Posts: 52
Joined: 03 Jan 2008 12:00

Post by ranger67 » 23 Jan 2008 6:46

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.

Post Reply