You must have the Allow execution of Agent Action permission assigned to have the Agent Actions option in the Tools menu. If you do not have the permission assigned, the Agent Actions option is not displayed in the Tools menu.
By default, the following roles have the Allow execution of Agent Action permission:
For other roles, these permissions must be assigned by the administrators to access the agent actions.
The following table lists the agent actions available for the PATROL for Scripting.
|Monitor type||Agent action||Description|
|Script||Reports > Statistics|
Reports the number of categories, devices, scripts, and custom monitors.
|Reports > Custom monitors|
Reports the number of new monitor types (known as knowledge modules) that were created based on the scripts output.
|Cleanup > Custom monitor type|
Enables you to choose to delete the old monitor types (known as knowledge modules) that were created based on the scripts output and are no longer in use.
Note: The cleanup is executed two times in a day.
|Validation > Script output|
Enables you to validate your script output. The KM verifies the script and builds expected result for the entered script. This field can be a maximum of 128 characters.
An example of a valid script output:
You can also use the ValidateScript tool to validate your script output from the command line. For more information about how to use the tool, see Using the ValidateScript tool to validate the script output.