Patrol Agent actions


When you execute an agent action, it is issued from your local console, but executed on the computer where the PATROL Agent is installed. Agent actions are also called menu commands in PATROL.

  • You have appropriate permissions required to execute agent actions. 
  • The application class to which the monitor belongs has the menu commands defined in the KMs for PATROL Agent.
  • A restricted user must have full access to the respective CI.

To respond to an event by using an agent action 

  1. In the TrueSight Operations Management console's Show Monitors page, in the Tools Menu column of a monitor, click the blue wrench icon.
  2. 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

PGR_ENVIRONMENT

Define Debug Settings

Enables the logging for PSL and Java activities.

Debug_agent.png

Test Connection

Checks the connection between the PATROL Agent and the PostgreSQL database

TestConnection_agent.png

Force Discovery

Forces the discovery of the PostgreSQL database.

ForceDiscovery_agent.png

Execute Query

Enables you to execute a valid query to the PostgreSQL database.

An example of a valid query output:

QueryScript_agent.png

QueryScript_output.png

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*