[RESOLVED] Post Uptime

Share your experience and thoughts about WAPT here / Come here and talk about your experience with Wapt, your opinion and your wishes
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided 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 (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
Locked
Marceld
Messages: 28
Registration: March 22, 2023 - 1:19 PM

November 10, 2023 - 12:49

Hello,

I'm creating this topic for two minor everyday production issues:

- Is it possible to integrate an uptime section into the general section for workstations? Perhaps a column in the inventory console?
This would be particularly useful as it would significantly reduce the need to deduce when PCs were last restarted.

- It's not possible to block the installation of certain applications selected by default:

For example, I have a list of packages that install on all PCs in the domain (including TightVNC Server), but for the admin OU, I want TightVNC Viewer. Consequently, the admin PCs are always getting errors related to this.

Thank you in advance.
Have a good day.
Last edited by marceld on Nov 13, 2023 - 10:46, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 10, 2023 - 1:19 PM

Marceld wrote: Nov 10, 2023 - 12:49 PM - Is it possible to integrate an uptime section into the general section of workstations? Perhaps a column in the inventory console?
In the hardware inventory you have "last_boot_uptime"

This corresponds to the date of the machine's last startup; you can drag the value into the columns to get it for all machines
Marceld wrote: Nov 10, 2023 - 12:49 PM - It's not possible to block the installation of certain applications selected by default:

For example, I have a list of packages that install on all PCs in the domain (including, for example, TightVNC Server), but for the admin OU, I want TightVNC Viewer. As a result, the admin PCs are always getting errors on this point.
This specific case is indeed not being handled intentionally to avoid falling into an overly complex mechanism.

You can use a metapackage if you wish:

Code: Select all

if 'adm' in hostname: 
    WAPT.install('Tight-VNC-server')
else:
    WAPT.install('tis-Tight-VNC-Viewer')
Marceld
Messages: 28
Registration: March 22, 2023 - 1:19 PM

November 13, 2023 - 10:46

Hello,

thank you very much for this information. I didn't know you could create new columns this way.

Have a good day.
Locked