Telegraf Agent reinstall creates an Endpoint and a Virtual Machine of the same name in the Aria Operations UI
search cancel

Telegraf Agent reinstall creates an Endpoint and a Virtual Machine of the same name in the Aria Operations UI

book

Article ID: 412023

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

A Virtual Machine is incorrectly identified as an Endpoint during the installation of a Telegraf Agent in Aria Operations.

Attempts to remove or reinstall the Telegraf agent results in both an Endpoint and a Virtual Machine being added to the Operations - Applications - Manage Telegraf Agents page in the Aria Operations UI.

Environment

Aria Operations 8.x

Cause

Either the IP was not finished configuring on the virtual machine when the Telegraf script was ran or the Telegraf script was run on the Virtual Machine too soon after it was created and before Aria Operations had time to collect and identify it.
 
The above results in the Virtual Machine being identified as an endpoint and a uuid file is created in C:\temp\ for a Windows agent or in the working directory where you ran the telegraf-utils.sh script for a Linux server.
 
A uuid file is only created for endpoints and is not removed during an uninstall or reinstall so it must be removed manually.

 

Resolution

  • Log in to the Windows Server and delete the uuid file from C:\temp\

  • SSH to the Linux Server as root, search for the uuid file and delete it. 

[root@hostname ~]# updatedb
[root@hostname ~]# locate uuid
/root/uuid
[root@hostname ~]# rm /root/uuid

 

Future Telegraf agent delete or reinstall actions will complete as expected and create a Virtual Machine object in the Manage Telegraf page of Aria Operations UI.