External Scripting instructions consist of the following:
CitraTest® script launches an external application created with Tevron® CitraTest and reports the results after the application runs and completes.
Refer to the following for additional information about property descriptions and values:
1 |
Click the Start button from the Windows® task bar. |
The FTR Script instruction launches an external Foglight Transaction Recorder script file.
Refer to the following for additional information about property descriptions and values:
1 |
Click the Start button from the Windows® task bar. |
Refer to the following for additional information about property descriptions and values:
1 |
Click the Start button from the Windows® task bar. |
6 |
Click the Click to Edit button. |
When using command line instructions, note the following:
• |
If Results is set to True and no results file is found, a Critical alarm is raised in the Foglight Management Server. |
• |
If Results is to False and a results file is found, a Warning alarm is raised in the Foglight Management Server. |
You can use command line instructions.
To run a batch file, use the following commands and parameters:
Executable—cmd.exe
Data Directory—The folder containing the batch file.
Additional Parameters— /C batchname.cmd
Results— False (unless the timer.dll is being called).
To run a Powershell script, use the following commands and parameters:
NOTE: Make sure to use the x86 Powershell executable as Folight Transaction Recorder is the 32-bit application, which means the Powershell executable under C:\Windows\syswow64\Windowspowershell\v1.0\powershell.exe should be used for Foglight Transaction Recorder.
NOTE: Make sure to set ExecutionPolicy to Get-ExecutionPolicy. If the output is restricted, set ExecutionPolicy to RemoteSigned using the command “Set-ExecutionPolicy RemoteSigned”. Contact your administrator if you fail to set ExecutionPolicy. |
Executable—powershell.exe
Data Directory—The folder containing the Powershell script.
Additional Parameters—.\scriptname.ps1
Results—False (unless the timer.dll is being called).