Show Table of Contents
7.2. Removing an Agent
7.2.1. Removing an Agent from a Managed Platform
- Stop the agent service.
- Delete the agent from JBoss ON topology.
- In the JBoss ON UI, click the Administration tab in the top menu.
- In the Topology section in the left menu, select the Agents item.
- Select the row for the agent to delete, in the list of installed agents.

- Click the Delete button at the bottom of the page.
- Confirm that the agent should be deleted.
- If the agent was configured as a system service, remove the associated files. On Windows, this can be done with the rhq-agent.bat remove command. On Linux, this means removing the
init.d/file and updating chkconfig. - Remove the agent installation directory.
7.2.2. Removing an Agent on a JBoss ON Server Machine
- Stop the agent service.
[root@server ~]# serverRoot/jon-server-3.3.0.GA/bin/rhqctl.sh stop --agent
- Remove the agent.
[root@server ~]# serverRoot/jon-server-3.3.0.GA/bin/rhqctl remove --agent
- Delete the agent from JBoss ON topology.
- In the JBoss ON UI, click the Administration tab in the top menu.
- In the Topology section in the left menu, select the Agents item.
- Select the row for the agent to delete, in the list of installed agents.

- Click the Delete button at the bottom of the page.
- Confirm that the agent should be deleted.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.