Unsolved
This post is more than 5 years old
49 Posts
0
1022
June 25th, 2012 13:00
Return values from Server Script
Hi there,
just wondering how it can be achied to return a string/value when invoking a (perl) server script from sm_gui.
The output shows:
ICS-E-ACTION_SUCCESSFUL_WITH_OUTPUT-Execution of the program:
'/opt/SMARTS/InCharge/SAM/smarts/local/actions/server/resetSite.pl '
completed successfully, with the output: '
. '.
In case I use a "die" It only throws exit code 29 in above line, with exit I can only set an exit code.
Somebody can shed a light how to populate the output with self defined information ?
SAM/IP 7.2
Solaris 5.10
Thanks
Christian
No Events found!