Page 1 of 1

[SOLVED] WAPT console and wapt-get generate-uuid

Published: February 25, 2020 - 12:49 PM
by corriou
Good morning,

One of the features I appreciate in WAPT is the ability to know if machines are connected or not.
Unfortunately, the presence of a proxy on my network seems to complicate things, and although I have configured wapt-get.iniMy console doesn't always display the presence of machines correctly. I understand that this is related to the library websocket and possibly the presence of the FQDN.

I have the following two questions:
  1. Why do some of my machines appear in the inventory with their FQDN while others only show their nickname?
  2. When I use the command `wapt-get generate-uuid`, a new machine appears in the inventory (which is consistent) with the new uuid , but why is this machine in an unknown state: it is neither OK nor DISCONNECTED ? I simply have no icon.
Sincerely,
Alain

Re: WAPT Console and wapt-get generate-uuid

Published: February 25, 2020 - 5:57 PM
by sfonteneau
corriou wrote: Feb 25, 2020 - 12:49 Why do some of my machines appear in the inventory with their FQDN while others only show their nickname?
A quick read of the code explains the different cases:

https://github.com/tranquilit/WAPT/blob ... ws.py#L448
corriou wrote: Feb 25, 2020 - 12:49 When I use the command wapt-get generate-uuid, a new machine appears in the inventory (which is consistent) with the new uuid , but why is this machine in an unknown state: it is neither OK nor DISCONNECTED ? I simply have no icon.
You simply need to restart the service to relaunch the websocket

Re: WAPT Console and wapt-get generate-uuid

Published: March 8, 2023 - 3:38 PM
by corriou
Thank you for your reply (and sorry for my late response).

Re: WAPT Console and wapt-get generate-uuid

Published: March 8, 2023 - 4:50 PM
by dcardon
Thank you for your feedback, I'm marking the topic as resolved,
Denis