diff options
Diffstat (limited to 'plugins/check_ssh.d')
-rw-r--r-- | plugins/check_ssh.d/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/check_ssh.d/config.h b/plugins/check_ssh.d/config.h index 05698d83..d739c57c 100644 --- a/plugins/check_ssh.d/config.h +++ b/plugins/check_ssh.d/config.h | |||
@@ -1,12 +1,16 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include <stddef.h> | 3 | #include <stddef.h> |
4 | #include "../../lib/monitoringplug.h" | ||
4 | 5 | ||
5 | typedef struct check_ssh_config { | 6 | typedef struct check_ssh_config { |
6 | int port; | 7 | int port; |
7 | char *server_name; | 8 | char *server_name; |
8 | char *remote_version; | 9 | char *remote_version; |
9 | char *remote_protocol; | 10 | char *remote_protocol; |
11 | |||
12 | bool output_format_is_set; | ||
13 | mp_output_format output_format; | ||
10 | } check_ssh_config; | 14 | } check_ssh_config; |
11 | 15 | ||
12 | check_ssh_config check_ssh_config_init(void) { | 16 | check_ssh_config check_ssh_config_init(void) { |
@@ -15,6 +19,8 @@ check_ssh_config check_ssh_config_init(void) { | |||
15 | .server_name = NULL, | 19 | .server_name = NULL, |
16 | .remote_version = NULL, | 20 | .remote_version = NULL, |
17 | .remote_protocol = NULL, | 21 | .remote_protocol = NULL, |
22 | |||
23 | .output_format_is_set = false, | ||
18 | }; | 24 | }; |
19 | 25 | ||
20 | return tmp; | 26 | return tmp; |