From 9bbc76483888c9e2ef2f4ed281c0ab8f2aab7bb6 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 8 Jun 2026 08:23:44 +0200 Subject: Ok summary (#2270) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- plugins/check_mrtgtraf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/check_mrtgtraf.c') diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index 46b94f57..be9f67b2 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c @@ -70,6 +70,9 @@ int main(int argc, char **argv) { } mp_check overall = mp_check_init(); + + mp_set_ok_summary(&overall, "Transfer rates in MRTG are OK"); + mp_subcheck sc_open_mrtg_log_file = mp_subcheck_init(); /* open the MRTG log file for reading */ @@ -440,7 +443,7 @@ void print_help(void) { printf("\n"); printf("%s\n", _("Notes:")); printf(" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from")); - printf(" %s\n", " http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"); + printf(" %s\n", " https://oss.oetiker.ch/mrtg/"); printf(" %s\n", _("- While MRTG can monitor things other than traffic rates, this")); printf(" %s\n", _(" plugin probably won't work with much else without modification.")); printf(" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually")); -- cgit v1.2.3-74-g34f1