Page 1 of 1

User notification via an audit package

Published: November 20, 2022 - 4:56 PM
by croquebert
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.

Re: User notification via an audit package

Published: November 25, 2022 - 9:40 AM
by t.heroult
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.

Re: User notification via an audit package

Published: November 27, 2022 - 5:49 PM
by croquebert
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

Re: User notification via an audit package

Published: November 28, 2022 - 4:10 PM
by t.heroult
That's too technical a question; I'll let the developers answer it :)