diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-25 15:02:55 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-07 23:38:50 +0100 |
| commit | d35c43e95f9efed3ef89bee288b8ec8f65ad2014 (patch) | |
| tree | 0c2b22b8bf2dbf54347aa760fc88e0e1f25ebb1e /plugins/check_users.d/users.h | |
| parent | 53247ae748174ddb639bb5fd9a19c8a6ad121717 (diff) | |
| download | monitoring-plugins-d35c43e95f9efed3ef89bee288b8ec8f65ad2014.tar.gz | |
Revert "Migrate check_users to new ouput infrastructure"
This reverts commit 10086edbf03fd807794bcfb3fff626da69a9fdb2.
Diffstat (limited to 'plugins/check_users.d/users.h')
| -rw-r--r-- | plugins/check_users.d/users.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/check_users.d/users.h b/plugins/check_users.d/users.h deleted file mode 100644 index aacba775..00000000 --- a/plugins/check_users.d/users.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | typedef struct get_num_of_users_wrapper { | ||
| 4 | int errorcode; | ||
| 5 | int users; | ||
| 6 | } get_num_of_users_wrapper; | ||
| 7 | |||
| 8 | enum { | ||
| 9 | NO_SYSTEMD_ERROR = 64, | ||
| 10 | WINDOWS_COULD_NOT_ENUMERATE_SESSIONS, | ||
| 11 | COULD_NOT_OPEN_PIPE, | ||
| 12 | STDERR_COULD_NOT_BE_READ, | ||
| 13 | }; | ||
| 14 | |||
| 15 | get_num_of_users_wrapper get_num_of_users_systemd(); | ||
| 16 | get_num_of_users_wrapper get_num_of_users_utmp(); | ||
| 17 | get_num_of_users_wrapper get_num_of_users_windows(); | ||
| 18 | get_num_of_users_wrapper get_num_of_users_who_command(); | ||
