Performing actions on a PATROL Agent by using CLI
You can use Command Line Interface (CLI) commands to run the managepaactions utility. With this utility, you can send the following commands to multiple PATROL Agents at once:
- sendSyncMsg
- executePSL
These commands can be accessed from the <installationDirectory>\TrueSightPServer\truesightpserver\bin folder. The output of the commands is saved in the managePAAction.txt log file.
The sendSyncMsg command
Use the sendSyncMsg command to restart multiple or all PATROL Agents at once. The following parameters are available for the sendSyncMsg command:
managepaactions sendSyncMsg user=<userName> [agentFile=<agentFileName>] [syncMsg=all] [waitInterval=<waitInterval>] [port=<port>] [protocol=<protocol>]
The parameters in sendSyncMsg are described in the following table:
The executePSL command
Use the executePSL command to send the PSL command to multiple or all PATROL Agents at once. The following parameters are available for the executePSL command:
managepaactions executePSL user=<userName> pslFile=<PSLFilename> [agentFile=<agentFileName>] [pslCmd=all] [waitInterval=<waitInterval>] [port=<port>] [protocol=<protocol>]
The parameters in executePSL are described in the following table: