e2e_appmon script execution return code -4
search cancel

e2e_appmon script execution return code -4

book

Article ID: 375351

calendar_today

Updated On:

Products

CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM) DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The e2e_appmon probe returns a minus 4 return code after the script has been run. Another KB Article mentions that this means "Browser Lost" but the underlying issue is not clear.

Environment

  • DX UIM 23.4 CU2
  • Nimrecorder v7.2.65
  • e2e_appmon v3.01

Cause

  • This will occur when the script Run interval is confgured to be less than Max. Run Time of the script. You must give the script enough time to complete execution between script runs.

Resolution

The e2e_appmon script 'Default run interval' under the Setup Tab (seconds), defines the time interval BETWEEN each NimRecorder script execution process.

Default max. run time (Seconds): defines the TIME LIMIT for NimRecorder script execution. The probe can generate an alarm when this limit is breached, for example:

     <script_name>: Did not complete on time and had to be killed.

Under the Status Tab, script 'Profile properties-> Run properties, check to make sure that the 'Run Interval' is at least 5 seconds greater than the 'Max. Run Time' of ANY scripts.

Then one or more scripts which are run sequentially by design, cannot get bogged down/interfere with each other nor breach its configured max. run time, otherwise it will be killed and generate the alarm mentioned above.

Select the script name and double-click to open the profile.

The Max. run time can be set at the script level under 'Profile Properties.'

 

Additional Information