[WAPT 2.5 Discovery] Random UUID instead of FQDN

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
User avatar
Ellias
Messages: 2
Registration: February 8, 2024 - 2:49 PM

February 8, 2024 - 3:04 PM

Hello everyone,

I'm facing a problem that's causing duplicate machine entries in the WAPT console:

Some time ago (over a year), my agent was regenerated with the specific feature of using only the machine's FQDN. However, I noticed that some machines were returning duplicates (which is normal, since the older ones retained the random UUID). So I performed a thorough cleanup.

Unfortunately, I have machines that are perfectly up-to-date with version 2.5.x (and connected), but they have a random UUID instead of their FQDN. I even tried removing them from the database and reinstalling the agent, making sure it was the correct version. I also tried restarting the affected PC, but without success: it continues to display a random UUID. :|

It's very likely that something is wrong, but I can't figure out what.

Thank you for your help :)
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

February 26, 2024 - 10:16

On the machines in question, launch in an administrator command prompt

Code: Select all

wapt-get reset-uuid
Tranquil IT
User avatar
Ellias
Messages: 2
Registration: February 8, 2024 - 2:49 PM

March 11, 2024 - 08:18

Thank you very much, I'll try that

EDIT:
So I just tried it: the command works fine, however it regenerates a random UUID, not the machine's full NetBIOS name. I get this error message:
C:\WINDOWS\system32>wapt-get reset-uuid
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
2024-03-11 08:48:13,253 WARNING Host on the server is not known or not known under this FQDN name (known as None). Trying to register the computer...
New UUID: rnd-xxxfxxx6-6xxx-4xxx-xx-ax-xb-x6-xx-xx-xx-xx
A wapt-get register -l debug runs without any problem, however, the machine is registered with its netbios name, but it is only an offline duplicate, and the other one always prevails, even after deleting it.

I tried `wapt-get unregister`, then `wapt-get register -l debug` again. The machine reappears in the console, but with a random UUID again...
Fred91430
Messages: 1
Registration: June 19, 2024 - 3:59 PM

June 19, 2024 - 4:07 PM

While investigating another issue, I discovered that during the management console installation there's an option to automatically generate random UUIDs.
If this option is selected, the agent created with this console will have a random UUID regardless of the initial agent creation settings.
Answer