Search

7.2. Removing an Agent

download PDF

7.2.1. Removing an Agent from a Managed Platform

  1. Stop the agent service.
  2. Delete the agent from JBoss ON topology.
    1. In the JBoss ON UI, click the Administration tab in the top menu.
    2. In the Topology section in the left menu, select the Agents item.
    3. Select the row for the agent to delete, in the list of installed agents.
    4. Click the Delete button at the bottom of the page.
    5. Confirm that the agent should be deleted.
  3. 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.
  4. Remove the agent installation directory.

7.2.2. Removing an Agent on a JBoss ON Server Machine

  1. Stop the agent service.
    [root@server ~]# serverRoot/jon-server-3.3.0.GA/bin/rhqctl.sh stop --agent
  2. Remove the agent.
    [root@server ~]# serverRoot/jon-server-3.3.0.GA/bin/rhqctl remove --agent
  3. Delete the agent from JBoss ON topology.
    1. In the JBoss ON UI, click the Administration tab in the top menu.
    2. In the Topology section in the left menu, select the Agents item.
    3. Select the row for the agent to delete, in the list of installed agents.
    4. Click the Delete button at the bottom of the page.
    5. Confirm that the agent should be deleted.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.