diff options
Diffstat (limited to 'plugins/check_cluster.d/config.h')
-rw-r--r-- | plugins/check_cluster.d/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/check_cluster.d/config.h b/plugins/check_cluster.d/config.h index fc386415..054657b0 100644 --- a/plugins/check_cluster.d/config.h +++ b/plugins/check_cluster.d/config.h | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | #include "../../config.h" | 3 | #include "../../config.h" |
4 | #include "../../lib/thresholds.h" | 4 | #include "../../lib/thresholds.h" |
5 | #include "output.h" | ||
5 | #include <stddef.h> | 6 | #include <stddef.h> |
6 | 7 | ||
7 | enum { | 8 | enum { |
@@ -14,6 +15,9 @@ typedef struct { | |||
14 | thresholds *thresholds; | 15 | thresholds *thresholds; |
15 | int check_type; | 16 | int check_type; |
16 | char *label; | 17 | char *label; |
18 | |||
19 | mp_output_format output_format; | ||
20 | bool output_format_is_set; | ||
17 | } check_cluster_config; | 21 | } check_cluster_config; |
18 | 22 | ||
19 | check_cluster_config check_cluster_config_init() { | 23 | check_cluster_config check_cluster_config_init() { |
@@ -22,6 +26,8 @@ check_cluster_config check_cluster_config_init() { | |||
22 | .thresholds = NULL, | 26 | .thresholds = NULL, |
23 | .check_type = CHECK_SERVICES, | 27 | .check_type = CHECK_SERVICES, |
24 | .label = NULL, | 28 | .label = NULL, |
29 | |||
30 | .output_format_is_set = false, | ||
25 | }; | 31 | }; |
26 | return tmp; | 32 | return tmp; |
27 | } | 33 | } |