diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-06-08 08:23:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-08 08:23:44 +0200 |
| commit | 9bbc76483888c9e2ef2f4ed281c0ab8f2aab7bb6 (patch) | |
| tree | c9f72dda47e082e9e2ce74377035b48c77415064 /plugins/check_ntp_time.c | |
| parent | 992a4555ac975285f959dd2d3228b1d71ab23123 (diff) | |
| download | monitoring-plugins-9bbc76483888c9e2ef2f4ed281c0ab8f2aab7bb6.tar.gz | |
Ok summary (#2270)
* lib: implement functionality to set ok summary
* check_load: implement setting ok summary
* OK summary for ntp_peer, ntp_time and users
* check_apt: implement ok summary
* check_curl: implement ok summary
* check_disk: implement ok summary
* check_dbi: implement ok summary
* check_ldap: auto formatting
* check_ldap: implement ok summary
* check_ssh: implement ok summary
* check_tcp: implement ok summary
* fixup! check_curl: implement ok summary
* fixup! check_dbi: implement ok summary
* fixup! check_ldap: implement ok summary
* fixup! check_ssh: implement ok summary
* fixup! check_tcp: implement ok summary
* check_apt: remove illegal free
* check_mrtg: fix link
* check_mrtg: implement ok summary
* check_mrtgtraf: fix link
* check_mrtgtraf: implement ok summary
* check_mysql: implement ok summary
* check_mysql_query: implement ok summary
* check_pgsql: implement ok summary
* check_radius: implement ok summary
* check_real: implement ok summary
* check_smtp: implement ok summary
* check_snmp: implement ok summary
* check_swap: implement ok summary
* check_ups: add OK summary
---------
Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
Diffstat (limited to 'plugins/check_ntp_time.c')
| -rw-r--r-- | plugins/check_ntp_time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 4e3a55db..3e23d0bf 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c | |||
| @@ -696,6 +696,8 @@ int main(int argc, char *argv[]) { | |||
| 696 | 696 | ||
| 697 | mp_check overall = mp_check_init(); | 697 | mp_check overall = mp_check_init(); |
| 698 | 698 | ||
| 699 | mp_set_ok_summary(&overall, "NTP time synchronisation seems to be working"); | ||
| 700 | |||
| 699 | mp_subcheck sc_offset = mp_subcheck_init(); | 701 | mp_subcheck sc_offset = mp_subcheck_init(); |
| 700 | offset_request_wrapper offset_result = | 702 | offset_request_wrapper offset_result = |
| 701 | offset_request(config.server_address, config.port, config.time_offset); | 703 | offset_request(config.server_address, config.port, config.time_offset); |
