monitoring-plugins/plugins/check_users.d
Lorenz Kästle fb39f96ac6 check_users: Use sd_get_uids instead of sd_get_session
Previously check_users in combination with systemd used
sd_get_sessions (3) to aquire the number of users, probably
with the idea that every users opens a session.
Turns out, that a user can have multiple sessions and we only really
want to know how many users there are.

This commit changes to sd_get_uids (3) to achieve that target.
2025-08-11 21:49:20 +02:00
..
config.h Refactor check_users 2025-03-12 22:01:46 +01:00
users.c check_users: Use sd_get_uids instead of sd_get_session 2025-08-11 21:49:20 +02:00
users.h Refactor check_users 2025-03-12 22:01:46 +01:00