Unable to uninstall Telegraf agents both from UI and CLI.
VMware Aria Operations 8.x
Connect to Suite API
https://<vrops-fqdn>/suite-api/doc/swagger-ui.html
Retrieve Existing vCenter Mapping
POST /api/applications/vccpmappings/query
{
"collectorUUIDs": [],
"collectorGroupIds": [],
"vCenterIds": []
}
3. Verify Cloud Proxies
4. Delete vCenter Mapping
DELETE /api/applications/vccpmappings
{
"uuids" : [ "<vCenter-UUID>" ]
}
<vCenter-UUID>
with the UUID of the vCenter mapping you want to delete.Uninstall the Telegraf Agent
If the Telegraf agent continues to fail during the uninstallation process, a manual cleanup of the Telgraf agent service on Windows machines may be required.
The manual cleanup process is as follows:
Understand the Installed Services
The Telegraf agent is installed as a service on Windows machines. To uninstall the Telegraf agent, it is necessary to remove the following three services:
Stop and Delete the Services
Use the following commands to stop and delete these services:
sc stop <Service-name>
sc delete <service-name>
Replace <Service-Name>
with the actual name of each service listed above.