Hello,
I just wanted to report that the "description" column for machines in the "inventory" tab is always empty in the console. The "description" textbox is also empty when a machine is selected and its information is viewed in the "general" tab. This bug occurred in version 1.3.8 and is still present in 1.3.9.
Empty description in the console
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
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
On our infrastructure, if the "Computer Description" is not empty, the column in the console will indeed contain the information...
You can test it on one of your workstations:
Launch a cmd.exe command as Administrator with elevated privileges
Then type:
Then refresh the display in the console (F5).
You can test it on one of your workstations:
Launch a cmd.exe command as Administrator with elevated privileges
Then type:
Code: Select all
wapt-get register "La description de mon ordinateur"Tranquil IT
Hmm, indeed, if I change the description from the machine (using `wapt-get register`), it works.
However, if I change it in the console, it doesn't work.
Before manually registering with the description, I had this:


EDIT: the images aren't displaying, here are the links:
https://framapic.org/62AwcY0JmLkd/G7CDP8nEOBif.png
https://framapic.org/keCke8M8jItq/WA1ZY4nXD33q.png
Once registered, the description appears in the list. If I change the computer (second screenshot), I also see the new description displayed. However, once the description is initialized by the client, it can no longer be modified from the console. The field is editable but not saved.
However, if I change it in the console, it doesn't work.
Before manually registering with the description, I had this:


EDIT: the images aren't displaying, here are the links:
https://framapic.org/62AwcY0JmLkd/G7CDP8nEOBif.png
https://framapic.org/keCke8M8jItq/WA1ZY4nXD33q.png
Once registered, the description appears in the list. If I change the computer (second screenshot), I also see the new description displayed. However, once the description is initialized by the client, it can no longer be modified from the console. The field is editable but not saved.
OK... it wasn't really supposed to work.
If you want to adopt this behavior,
you just need to modify the file
with a text editor.
and replace with the following content:
The "new" machine packages will automatically change the machine description according to the machine package description.
Machines that already have a package (in /var/www/wapt-host) will not experience this behavior, because the package is pre-existing and setup.py will not be changed.
If you want to adopt this behavior,
you just need to modify the file
Code: Select all
c:\wapt\templates\setup_host_template.pyand replace with the following content:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
if control.description:
print('Change local computer description to match package description')
set_computer_description(control.description)
Machines that already have a package (in /var/www/wapt-host) will not experience this behavior, because the package is pre-existing and setup.py will not be changed.
Tranquil IT
Hmm, so I'd have to modify the agent on each machine and remember to reapply the change after an update?
Is there a reason why the description can't be modified from the console by editing the machine package? It's much more convenient to modify a machine's description centrally in the console than individually on each machine.
Thanks!
Is there a reason why the description can't be modified from the console by editing the machine package? It's much more convenient to modify a machine's description centrally in the console than individually on each machine.
Thanks!
The template modification should only be done on the administration machine because it is the one that initializes the machine packages.
So far, Wapt's rule is that
Now, we could make things more transparent by -
So far, Wapt's rule is that
- - All configuration is done via a signed packet.
- All information in the console comes from client machines (no information is added to the database afterward).
Now, we could make things more transparent by -
- - Editing the package description (+signature) in the background when a description is entered in the grid
- Allowing the wapt client to modify the machine description based on the package description (option to add to wapt-get.ini such as enable_host_description_management)
Tranquil IT
