diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-22 22:39:10 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-07 23:38:50 +0100 |
commit | fb4f46f93da4ac50654fdcc2f26b2f37c73a9230 (patch) | |
tree | 2d09b35c6b033d85ff7117968ea6475ab8dec3dc /plugins/check_users.d/config.h | |
parent | 665e2f91306fa9b38044a382e4b7571a0c8c0c5f (diff) | |
download | monitoring-plugins-fb4f46f93da4ac50654fdcc2f26b2f37c73a9230.tar.gz |
Migrate check_users to new ouput infrastructure
Diffstat (limited to 'plugins/check_users.d/config.h')
-rw-r--r-- | plugins/check_users.d/config.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/check_users.d/config.h b/plugins/check_users.d/config.h new file mode 100644 index 00000000..35b7b7f8 --- /dev/null +++ b/plugins/check_users.d/config.h | |||
@@ -0,0 +1,19 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "output.h" | ||
4 | #include "thresholds.h" | ||
5 | typedef struct check_users_config { | ||
6 | mp_thresholds thresholds; | ||
7 | |||
8 | bool output_format_is_set; | ||
9 | mp_output_format output_format; | ||
10 | } check_users_config; | ||
11 | |||
12 | check_users_config check_users_config_init() { | ||
13 | check_users_config tmp = { | ||
14 | .thresholds = mp_thresholds_init(), | ||
15 | |||
16 | .output_format_is_set = false, | ||
17 | }; | ||
18 | return tmp; | ||
19 | } | ||