diff options
Diffstat (limited to 'plugins/check_ntp_peer.d/config.h')
| -rw-r--r-- | plugins/check_ntp_peer.d/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_ntp_peer.d/config.h b/plugins/check_ntp_peer.d/config.h index 396edea6..a6dd5c4c 100644 --- a/plugins/check_ntp_peer.d/config.h +++ b/plugins/check_ntp_peer.d/config.h | |||
| @@ -66,10 +66,11 @@ check_ntp_peer_config check_ntp_peer_config_init() { | |||
| 66 | tmp.jitter_thresholds = mp_thresholds_set_crit(tmp.jitter_thresholds, jitter_c_default); | 66 | tmp.jitter_thresholds = mp_thresholds_set_crit(tmp.jitter_thresholds, jitter_c_default); |
| 67 | 67 | ||
| 68 | mp_range offset_w_default = mp_range_init(); | 68 | mp_range offset_w_default = mp_range_init(); |
| 69 | offset_w_default = mp_range_set_start(offset_w_default, mp_create_pd_value(60)); | 69 | offset_w_default = mp_range_set_end(offset_w_default, mp_create_pd_value(60)); |
| 70 | tmp.offset_thresholds = mp_thresholds_set_warn(tmp.offset_thresholds, offset_w_default); | 70 | tmp.offset_thresholds = mp_thresholds_set_warn(tmp.offset_thresholds, offset_w_default); |
| 71 | |||
| 71 | mp_range offset_c_default = mp_range_init(); | 72 | mp_range offset_c_default = mp_range_init(); |
| 72 | offset_c_default = mp_range_set_start(offset_c_default, mp_create_pd_value(120)); | 73 | offset_c_default = mp_range_set_end(offset_c_default, mp_create_pd_value(120)); |
| 73 | tmp.offset_thresholds = mp_thresholds_set_crit(tmp.offset_thresholds, offset_c_default); | 74 | tmp.offset_thresholds = mp_thresholds_set_crit(tmp.offset_thresholds, offset_c_default); |
| 74 | return tmp; | 75 | return tmp; |
| 75 | } | 76 | } |
