search cancel

How do I get alerted or check for long running Jobstream predictions?

book

Article ID: 201834

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

How do I get alerted or check for long running Jobstream predictions?

Environment

Release : 6.0.1

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

You can you check the jaws.log to the length of time it takes the Prediction phase of the Jammer cycle run to complete for each scheduler by tailing the log like below:


tail -f /opt/aai/jboss/standalone/log/jaws.log | grep Prediction
2020-10-14 14:47:29,016 INFO [RunCycle] Prediction phase for Dev_autosys started
2020-10-14 14:47:29,022 INFO [RunCycle] Prediction phase for Dev_autosys finished in Duration[0.006]

 

If a jobstream takes too long it may show up in the log if its timing out.


You would see a message like below if that is the case:

      [AutosysPredictionEngine] Prediction for at 2020/05/22 07:52:28.000 CDT timed out. Timeout period is 30



You can also set a system Alert from the Admin tab by clicking the top right box with the ! symbol.

Scroll down and find the Alert for "Long Running Prediction Terminated" if you want to get an email notification when this occurs.