e2e_appmon: return code -1 when running script
search cancel

e2e_appmon: return code -1 when running script

book

Article ID: 381822

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

All scripts executed by the e2e_appmon probe return code -1 even though scripts run fine when running them with Nimrecorder.

Error in the e2e_appmon.log:

<scriptname> returns -1

Error in the e2e_starter.log:

Start script with command "/Program Files (x86)/NimRecorder/Bin/TaskAdmin.exe" "<scriptname>.rob"
AddShellIcon (1)...
Modify/add system tray icon (active)
Wait for script to terminate
Return code from <scriptname> is -1

Environment

Any e2e_appmon version

Cause

Incorrect executable in the Command field

Resolution

1. Launch IM and open the e2e_appmon probe Configure menu

2. Click on the Setup tab

3. Update the Command field in the Run Properties section with path to the TaskExec.exe between double quotes as shown below.

Note:TaskExec.exe file executes the compiled NimRecorder scripts.

Example

4. Click on Apply

Additional Information