Viewing and filtering Agents
As an administrator, select Configuration > Agents to view and manage PATROL Agents. An entry for a PATROL Agent is added to the page when you deploy the Agent.
You can perform the following operations on PATROL Agents:
- Deploy and install packages
- Uninstall monitoring solutions
- Run a query on the PATROL Agent
- View the Agent configuration history
- Manage Agent filters
- View the deployment and installation summary of all Agents
- Save the Agent page as preference
Running a query on PATROL Agents
This option is available only for PATROL Agents that are in the connected state.
You can run Agent Query Tool (AQT) PATROL Script Language (PSL) commands on PATROL Agents by using the Agent Query Tool and view the results in the tool. You can also perform the following actions by using the tool:
- Restart the Agent. Use the
button.
- Reload the Agent. Use the
button.
- Stop the Agent. Use the
button.
You can also view an audit trail of the AQT commands in BMC Helix Dashboards.
To run a query on a PATROL Agent
- In BMC Helix Operations Management, go to Configuration > Agents.
- Click the action menu of a PATROL Agent and click Query PATROL Agent.
- On the Agent Connection page, enter the PATROL Agent user name and password, and click Connect.
- In the Command box, do one of the following:
Manually enter a PSL command.
In the Command box, type the command and press Enter or click Execute. For example, %DUMP ALL. The results are displayed. For more information about PSL commands, see PATROL Script Language overview and functions.Click
and select a query from the out-of-the-box PSL commands list.
In the Select Command dialog box, select a command and click Apply.
- Click Execute. The command and its results are displayed.
Viewing the audit trail of AQT commands
Use the BMC Helix Audit Dashboard in BMC Helix Dashboards to view the following information:
- The AQT login request sent by a user
- The response of the login request
- An AQT command sent by a user
- The response of the command
For instructions on opening the BMC Helix Audit Dashboard and for other details, see BMC Helix Audit Dashboard.
The following image displays the audit trail of AQT commands in the BMC Helix Audit Dashboard. Note that the selected resource type is AQT COMMAND.
Viewing the Agent configuration history
This option is available only for connected Agents. To view the Agent configuration history, select Configuration > Agents, click the device action menu, and click Show History for Applied Configurations.
The manage_patrol_agent permission is required to view the Agent configuration history. To view a list of all permissions in BMC Helix Operations Management, see Roles-and-permissions.
Managing Agent filters
By default, the maximum number of PATROL Agents that can be displayed on the Agents page is 2000. If you have more Agents, create filters to view them.
To create Agent filters
- In BMC Helix Operations Management, go to Configuration > Agents.
- Click the Agent action menu and click Create Agent Filter.
- Perform one of the following actions:
Click Import Conditions from a Policy and select a policy. Define additional Agent filter properties and conditions if required.
- Click Define Conditions and add conditions for the filter.
- Save the filter.
- Add a name for the filter and click Ok.
The filter is applied to all PATROL Agents on the Agents page.
To modify filters
- In BMC Helix Operations Management, go to Configuration > Agents.
- Click the Agent action menu and click View Saved Filters.
- Click a filter action menu, and click Edit.
- Make your changes and click Update.
To delete filters
- In BMC Helix Operations Management, go to Configuration > Agents.
- Click the Agent action menu and click View Saved Filters.
- Click a filter action menu, and click Delete.
To view the deployment and installation summary of all Agents
- In BMC Helix Operations Management, go to Configuration > Agents.
- Click the Agent action menu and click View Deployment and Installation Summary.
You can view the summary on the Deployment and Installation Summary page. - On the Deployment and Installation Summary page, click the Export export the summary to a .csv file.
To save the Agent page as a preference
You can save the current Agent page display as a preference.
- In BMC Helix Operations Management, go to Configuration > Agents.
- Click the Agent action menu and click Save As Preference.