cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1016
Views
0
Helpful
1
Replies

Monitoring job runs using event triggers

hrechek4470
Level 1
Level 1

We have 6.2.1.401

During Fiscal close days, a user requested to be notified when job has not started by X time. This time specified is neither the jobs start time nor estimated start time. Some of the jobs in will be completed already by the user defined time. Is there a  way to evaluate based on average start time from history?

At first I thought I could  simply use an email action and a job event trigger. I later decided that I needed to setup a separate job to check for user defined time, using the special calendar that user provided.  

So far I have this setup:
1. Email action to operator

2. Late status job (dummy job) with special calendar, user specified time, job event triggered by completed normally. Dependencies are proving to be a challenge. I need  job <> active & job <> completed normally. This version does not allow you to use same job for both expressions. So I setup a variable "Job is active" <> <JobStatus..p11934>

Is there a better way to do this?

1 Reply 1

Maximilian Gallagher
Cisco Employee
Cisco Employee

You want to use the job event trigger "Job might not be ready by end of time window" to use the end time minus estimated time,

BUT you actually want to use "job not ready by end of time window" while supplying a time window that does not move around, for the end time. You can set the job to "not timeout" right below that if you're worried about the job timing out by that time, and it will not time out, but our event here will trigger if the job is in a waiting state during the end time specified.

Review Cisco Networking for a $25 gift card