https://github.com/PerryWerneck/libudjatusers
User/Session monitor and library for udjat.
https://github.com/PerryWerneck/libudjatusers
Last synced: 18 days ago
JSON representation
User/Session monitor and library for udjat.
- Host: GitHub
- URL: https://github.com/PerryWerneck/libudjatusers
- Owner: PerryWerneck
- License: gpl-3.0
- Created: 2022-01-04T14:30:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-20T10:51:15.000Z (2 months ago)
- Last Synced: 2025-03-25T04:38:51.545Z (about 1 month ago)
- Language: C++
- Size: 355 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# User/Session monitor and library for udjat.
[](https://www.gnu.org/licenses/gpl-3.0)

[](https://build.opensuse.org/package/show/home:PerryWerneck:udjat/udjat-module-users)Watch active users sessions emitting UDJAT alerts (http call, script, etc) based on user's session events.
## Using agent
### Event names
* *Already active*: Session is active on startup
* *Still active*: Session still active on shutdown
* *Login*: User has logged in
* *Logout*: User has logged out
* *Lock*: Session was locked
* *Unlock*: Session was unlocked
* *Foreground*: Session is in foreground
* *Background*: Session is in background
* *sleep*: Session is preparing to sleep
* *resume*: Session is resuming from sleep
* *shutdown*: Session is shutting down
* *pulse*: Session is alive### Examples
[Udjat](../../../udjat) service configuration to emit an alert on user logoff:
```xml
{"user":"${username}","macaddress":"${macaddress}"}
```