TCP check plugin for decommissioned VM is reappearing in Aria Operations UI after deletion
search cancel

TCP check plugin for decommissioned VM is reappearing in Aria Operations UI after deletion

book

Article ID: 434940

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • TCP check objects in the Aria Operations UI reappear approximately 5 minutes after being successfully deleted.
  • The affected VM or endpoint may have been decommissioned or removed from Aria Operations inventory, but TCP check alerts continue to trigger.
  • Manual deletion tasks in the UI complete without error, yet the configuration persists on the endpoint.
  • The telegraf.conf file on the endpoint continues to show entries for the deleted TCP checks even after UI removal attempts.

Environment

VMware Aria Operations 8.18.x

Cause

This issue is caused by missing or inconsistent plugin information within the telegraf configuration files on the guest endpoint. When the Aria Operations UI attempts to delete the plugin, the agent's local configuration may still contain the entries, causing them to be re-registered during the next collection cycle. This is often seen when the telegraf.conf file size is 0 or metadata is missing.

Resolution

To resolve this issue on windows-based telegraf agents, follow these manual steps to recreate the corrupted configuration files and successfully delete the TCP check from the Aria Operations UI.

  1. Create a folder debug-sample in each windows server machine at location: C:\VMware\UCP

  2. Open command prompt and run the below command - 

    C:\VMware\UCP\ucp-minion\bin\ucp-minion.bat – config C:\VMware\UCP\salt\conf\grains – action xtract_config --dest_dir=C:\VMware\UCP\debug-sample

    A file telegraf.conf will be created in debug-sample folder created above.

  3. Create a folder test at the same location mentioned in step 1.

  4. Download the following two scripts from the attachment and copy them to the test folder

    generate_telegraf_json.ps1
    generate_telegraf_json.bat

  5. Run command -

    C:\VMware\UCP\test\generate_telegraf_json.bat C:\VMware\UCP\test\telegraf.conf C:\VMware\UCP\test\telegraf

    A new file telegraf will be created in test folder.

  6. Copy telegraf.conf file in C:\VMware\UCP\ucp-telegraf folder and telegraf file in C:\VMware\UCP\plugins folder

  7. Go to Services and restart the following services.

    Application Remote Collector Minion
    Application Remote Collector Telegraf

  8.  Log in to the Aria Operations UI and attempt to delete the TCP check configuration. It should now be removed permanently without reappearing.

Attachments

generate_telegraf_json.bat get_app
generate_telegraf_json.ps1 get_app