diff options
Diffstat (limited to 'plugins/check_ntp_peer.c')
| -rw-r--r-- | plugins/check_ntp_peer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index b5cfb460..34686cb9 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c | |||
| @@ -708,6 +708,8 @@ int main(int argc, char *argv[]) { | |||
| 708 | const ntp_request_result ntp_res = ntp_request(config); | 708 | const ntp_request_result ntp_res = ntp_request(config); |
| 709 | mp_check overall = mp_check_init(); | 709 | mp_check overall = mp_check_init(); |
| 710 | 710 | ||
| 711 | mp_set_ok_summary(&overall, "NTP Server seems to be OK"); | ||
| 712 | |||
| 711 | mp_subcheck sc_offset = mp_subcheck_init(); | 713 | mp_subcheck sc_offset = mp_subcheck_init(); |
| 712 | xasprintf(&sc_offset.output, "offset"); | 714 | xasprintf(&sc_offset.output, "offset"); |
| 713 | if (ntp_res.offset_result == STATE_UNKNOWN) { | 715 | if (ntp_res.offset_result == STATE_UNKNOWN) { |
