[Solved] Trigger Monitoring Job and Email of Details - VisualCron - Forum

Community forum

KJDavie
2014-06-04T23:56:54Z
Hi,

We are testing a Trigger Monitoring Job which we would like to run on at least some of our more active VisualCron Servers with many triggers.

We have it set to email us when the relevant events are triggered (See Screen Print).

It is emailing us as expected, but what we need in the email is the relevant references to exactly what trigger on what job has had its trigger changed.

Maybe we have missed it but we can't see in terms of variables etc how to include these details.

At present we find this by reviewing the Jobs and Logs on the server that emailed to find the issue, but depending on number of Jobs and number of triggers that's not always as obvious as it sounds 😉.

Please see email text and example output received attached . . . . . but we are interested not in *this* Jobs Trigger, but the *other* Jobs trigger that raised the issue in the first place. . . . and note the last trigger information seems unhappy also ?

Some advice would be appreciated.
KJDavie attached the following image(s):
bbusse
2014-06-05T13:54:55Z
These are the values for Job ID and Job Name, when relating to a trigger:

{TRIGGER(Active|LastTrigger|Job.Name)}
{TRIGGER(Active|LastTrigger|Job.Id)}

EDIT: Wait, No. That's just the Name of the Job that's sending the e-mail.. not the one that got disabled.

What you have appears to be right. I'm looking at version 6.2.2 and version 7.1.7 and I see the same problem as you. The .message works, but the name and ID of the job do not. What's worse, is... 6.2.2 doesn't even seem to trigger. Updated from 6.1.4 to 6.2.2 and now our trigger disable/deactivate task notification doesn't work.. i guess it's time to upgrade to 7.1.1

This looks like a job for Henrik :)

Brian
Support
2014-06-06T09:11:10Z
Thanks for the report - we have fixed this issue in this version:

http://www.visualcron.co....aspx?g=posts&t=4160 

However, perhaps you were looking for these Variables:

{TRIGGER(Active|LastTrigger|VisualCron.Result.Job.Id)}
{JOB({TRIGGER(Active|LastTrigger|VisualCron.Result.Job.Id)}|Name)}


The above refer to the Job with the Trigger that was deactivated compared to the ones you mentioned which refer to the Job that has the VisualCron Trigger (current).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
bbusse
2014-06-06T13:18:29Z
Originally Posted by: Support 


However, perhaps you were looking for these Variables:

{TRIGGER(Active|LastTrigger|VisualCron.Result.Job.Id)}
{JOB({TRIGGER(Active|LastTrigger|VisualCron.Result.Job.Id)}|Name)}



The first one above is one of the two in his screenshot. It doesn't work. If the Job.Id works, i guess i'd also think the Job.Name should work also, as they're listed in the variable tree structure right next to eachother.

Brian
Support
2014-06-06T17:54:27Z
Originally Posted by: bbusse 

Originally Posted by: Support 


However, perhaps you were looking for these Variables:

{TRIGGER(Active|LastTrigger|VisualCron.Result.Job.Id)}
{JOB({TRIGGER(Active|LastTrigger|VisualCron.Result.Job.Id)}|Name)}



The first one above is one of the two in his screenshot. It doesn't work. If the Job.Id works, i guess i'd also think the Job.Name should work also, as they're listed in the variable tree structure right next to eachother.

Brian



Yes, none works except in the new build. I was just searching for if he really wanted _those_ Variables.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top