You must select the VMs managed by the vCenter Server cloud account on which you want to uninstall the agent.

Prerequisites

Note: You cannot uninstall an agent from the UI for physical servers and VMs unmanaged by the vCenter Server cloud account ( Endpoint object type in VMware Aria Operations).

Ensure that you have completed all the prerequisites. For more information, see Prerequisites.

Procedure

  1. From the left menu, select Operations > Applications. From the Applications panel, select Manage Telegraf Agents. You see the Manage Telegraf Agents page.
  2. From the Manage Telegraf Agents page, select the VMs that are managed by the vCenter Server cloud account on which you want to uninstall the agent.
  3. From the Manage Telegraf Agents page, click the horizontal ellipsis, and then click Uninstall. You see the Manage Agent dialog box.
  4. From the How do you want to provide VM Credentials page, complete the following steps:
    1. If you have a common user name and password for all the VMs, select the Common username and password option.
    2. If you have different user names and passwords for all the VMs, select the Enter virtual machine credentials option.
    3. Under the section called Telegraf Configurations, select the Telegraf agent configurations - Save a backup of configurations option if you want to backup active agent configurations available on the VM. You can restore these agent configurations during install of an agent. For more information, see Install an Agent from the UI.
    4. Click Next.
  5. From the Provide Credentials page, depending on whether you have a common credential for all the VMs or different credentials for all VMs, enter the following details:
    1. If your VM has a single user name and password, enter the common user name and password.
    2. For multiple user names and passwords for each VM, download the CSV template and add the details. Use the Browse button to select the template.
    3. Click Next.
  6. From the Summary page, you can view the list of VMs on which the agent is uninstalled.
  7. Click Uninstall Agent. Refresh the UI to view the progress of agent uninstallation.
    The Agent Status column and the missing drop down arrow against the VM in the workspace, indicate that uninstallation is complete and that there are no application services discovered on each agent.

    UAC Activated on Windows Machine

    The bits are downloaded to the VM. You have to manually uninstall the bits.
    • Open PowerShell with administrator privileges.
    • Go to $SYSTEMDRIVE\VMware\UCP\downloads folder: cd $SYSTEMDRIVE\VMware\UCP\downloads
    • Run the cmd /c uaf-bootstrap-launcher.bat > uaf_bootstrap.log 2>&1 command.
    • View the results from uaf_bootstrap.log.
    • Verify the status of agent installation from the Agent Status and Last Operation Status columns in the Manage Telegraf Agents page.