A script will play all the way through successfully in the Citratest (FTR-a) UI and in Foglight Transaction Player/Recorder UI. However, after publishing the script up to the Foglight Management Server (FMS) so that the Foglight Agent Manager (FglAM) is playing the script, the script hangs while looking for images. It does not seem to matter which image.
Keeping the path length limit in mind as a possible cause where a the script plays through successfully in the Recorder but not the Player. Or if the script plays through successfully in Citratest but not in the Recorder. (Recorder’s path length is longer than that of Citratest, but Player’s path length is longest of all).
Shorten total combined length of the directory path structure and file names. Do this by making the name you specify for the FTR agent shorter and/or the name you choose for the image file shorter. Those two are the longest names in the path. The downside of that is that the image names may now be too short to be descriptive.
Reinstall the FglAM closer to the root, for example into:
C:\Program Files\Common Files\Dell\Foglight Agent Manager\
That suggestion alone could save about 20 characters on the path.
Further options are:
Fixed in FTR version 5.6.11. An optional new configuration parameter has been added: “Script Directory”. Now you can explicitly specify the location of where the scripts are stored.
Download FTR version 5.6.11 here.
An optional text field into FTR agent configuration ASP page has been added. This option is set to "" for default. The option is used to solve the "long path" issue. If the path used in FTR will exceed the maximum path length allowed of 255 characters, the user can use this option to change the script and result directory to some shorter path.
Suggestion: set the "Script Directory" to "%homedrive%\ScriptDirectory\" (such as "c:\ScriptDirectory\"). This will make it easier for the user to find the script and result files if needed.
It will take effect after a restart of the FTR agent and the script path is verified as valid on the agent machine. The new parameter 'Script Directory' field is documented here.
The system cannot write the .offset file when deploys the script (fresh) to the FglAM working directory if the path length is longer than 260 characters.