When setting up a CommandAction in a rule that runs a batch script which accepts parameters, the following error is found in the FMS log:
2012-10-25 15:08:18.738 VERBOSE [Thread-131] com.quest.nitro.service.action.impl.command.StreamGobbler - Command Action Out: 'C:\Quest_Software\Foglight\script.bat" "param1' is not recognized as an internal or external command,
2012-10-25 15:08:18.738 VERBOSE [Thread-131] com.quest.nitro.service.action.impl.command.StreamGobbler - Command Action Out: operable program or batch file.
It used to work in FMS version 5.5.8. In version 5.6.x, it has stopped working.
WORKAROUND
Add the following vm parameter to the server.config file (%FGLHOME%\config\server.config). Please take a backup of the file before modifying.
-Dquest.common.process-runner.disabled=true
For example:
server.vm.option0 = "-Dquest.common.process-runner.disabled=true";
Regtart the FMS.
NOTE: This workaround should not not be used for a Solaris FMS yet as further review would be required on Solaris.
STATUS
Waiting for fix in a future release of Foglight.