User notification via an audit package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Locked
croquebert
Messages: 33
Registration: March 30, 2022 - 5:41 PM

November 20, 2022 - 4:56 PM

Hello everyone,

Context:
WAPT version: 2.2 Enterprise
Server OS: Debian 11
Administration console OS: Win10pro
Package development workstation OS: Win10pro

We would like to trigger a message to the logged-in user at regular intervals via an audit package.
This audit package would send a message if, for example, updates are pending or if the workstation requires a restart.
Messages can be sent to users via the WAPT console, but I haven't found how to call this functionality directly within a WAPT package. Is this possible? If so, how?

Finally, can we configure the message display duration so that the user doesn't need to click OK to dismiss it?

Best regards,

Christophe R.
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

November 25, 2022 - 9:40 AM

Hello,

in the Tranquil IT repository, there's a package called "tis-info-shutdown".
It contains answers to your questions.
I used it as inspiration to create my own alert pop-ups that appear when a PC has been on for too long or is waiting to reboot.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
croquebert
Messages: 33
Registration: March 30, 2022 - 5:41 PM

November 27, 2022 - 5:49 PM

Good morning,

Thank you for the feedback.

I think that should meet my needs, I need to test the behavior (since it is the audit that triggers the session-setup via run-session-setup in the logged-in user's session, we should be able to remind them as frequently as necessary even if they never close their session).

The initial idea was to directly call the notification function present in the console; do you know if this functionality is available?
  • is based on the mechanisms present in the tis-info-shutdown package (for example, does it hide the automatic creation of a packet containing a messageBox call and send it to the machine?)?
  • Is it callable from the machine hosting the console without going through the console (for example, gathering information via the API, then calling the function for the selected workstations)?
Christophe
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

November 28, 2022 - 4:10 PM

That's too technical a question; I'll let the developers answer it :)
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Locked