diff options
Diffstat (limited to 'plugins/check_ntp_peer.d')
| -rw-r--r-- | plugins/check_ntp_peer.d/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/check_ntp_peer.d/config.h b/plugins/check_ntp_peer.d/config.h index a6dd5c4c..488d936c 100644 --- a/plugins/check_ntp_peer.d/config.h +++ b/plugins/check_ntp_peer.d/config.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #include "../../config.h" | 3 | #include "../../config.h" |
| 4 | #include "output.h" | ||
| 4 | #include "perfdata.h" | 5 | #include "perfdata.h" |
| 5 | #include "thresholds.h" | 6 | #include "thresholds.h" |
| 6 | #include <stddef.h> | 7 | #include <stddef.h> |
| @@ -29,6 +30,9 @@ typedef struct { | |||
| 29 | // jitter stuff | 30 | // jitter stuff |
| 30 | bool do_jitter; | 31 | bool do_jitter; |
| 31 | mp_thresholds jitter_thresholds; | 32 | mp_thresholds jitter_thresholds; |
| 33 | |||
| 34 | bool output_format_is_set; | ||
| 35 | mp_output_format output_format; | ||
| 32 | } check_ntp_peer_config; | 36 | } check_ntp_peer_config; |
| 33 | 37 | ||
| 34 | check_ntp_peer_config check_ntp_peer_config_init() { | 38 | check_ntp_peer_config check_ntp_peer_config_init() { |
| @@ -47,6 +51,8 @@ check_ntp_peer_config check_ntp_peer_config_init() { | |||
| 47 | 51 | ||
| 48 | .do_jitter = false, | 52 | .do_jitter = false, |
| 49 | .jitter_thresholds = mp_thresholds_init(), | 53 | .jitter_thresholds = mp_thresholds_init(), |
| 54 | |||
| 55 | .output_format_is_set = false, | ||
| 50 | }; | 56 | }; |
| 51 | 57 | ||
| 52 | mp_range stratum_default = mp_range_init(); | 58 | mp_range stratum_default = mp_range_init(); |
