Agent actions
To respond to an event by using an agent action
- In the Show Monitors page, in the Tools Menu column of a monitor, click the blue wrench icon.
- Click Agent Actions, and select an agent action.
If any input is required for the agent action, a dialog box is displayed. You must provide the values that are required for the action to be executed.
A confirmation message is displayed after the agent action is executed.
Permissions required to execute agent actions
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:
- Super Admin
- Event Administrator
- Data Collection Administrator
- Service Administrator
For other roles, these permissions must be assigned by the administrators to access the agent actions.
PATROL for Scripting 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. |