Uninstall an
Agent
You must select the VMs managed by the
vCenter Server
cloud account on which you
want to uninstall the agent. 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.
- From the left menu, select. From theApplicationspanel, selectManage Telegraf Agents. You see theManage Telegraf Agentspage.
- From theManage Telegraf Agentspage, select the VMs that are managed by thevCenter Servercloud account on which you want to uninstall the agent.
- From theManage Telegraf Agentspage, click the horizontal ellipsis, and then clickUninstall. You see theManage Agentdialog box.
- From theHow do you want to provide VM Credentialspage, complete the following steps:
- If you have a common user name and password for all the VMs, select theCommon username and passwordoption.
- If you have different user names and passwords for all the VMs, select theEnter virtual machine credentialsoption.
- ClickNext.
- From theProvide Credentialspage, depending on whether you have a common credential for all the VMs or different credentials for all VMs, enter the following details:
- If your VM has a single user name and password, enter the common user name and password.
- For multiple user names and passwords for each VM, download the CSV template and add the details. Use theBrowsebutton to select the template.
- ClickNext.
- From theSummarypage, you can view the list of VMs on which the agent is uninstalled.
- ClickUninstall Agent. Refresh the UI to view the progress of agent uninstallation.TheAgent Statuscolumn 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 MachineThe bits are downloaded to the VM. You have to manually uninstall the bits.
- Open PowerShell with administrator privileges.
- Go to$SYSTEMDRIVE\VMware\UCP\downloadsfolder:cd $SYSTEMDRIVE\VMware\UCP\downloads
- Run thecmd /c uaf-bootstrap-launcher.bat > uaf_bootstrap.log 2>&1command.
- View the results fromuaf_bootstrap.log.
- Verify the status of agent installation from theAgent StatusandLast Operation Statuscolumns in theManage Telegraf Agentspage.