summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.d/config.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-02-22 22:39:10 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-07 23:38:50 +0100
commitfb4f46f93da4ac50654fdcc2f26b2f37c73a9230 (patch)
tree2d09b35c6b033d85ff7117968ea6475ab8dec3dc /plugins/check_users.d/config.h
parent665e2f91306fa9b38044a382e4b7571a0c8c0c5f (diff)
downloadmonitoring-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.h19
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"
5typedef 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
12check_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}