summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtgtraf.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mrtgtraf.c')
-rw-r--r--plugins/check_mrtgtraf.c5
1 files changed, 4 insertions, 1 deletions
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) {
70 } 70 }
71 71
72 mp_check overall = mp_check_init(); 72 mp_check overall = mp_check_init();
73
74 mp_set_ok_summary(&overall, "Transfer rates in MRTG are OK");
75
73 mp_subcheck sc_open_mrtg_log_file = mp_subcheck_init(); 76 mp_subcheck sc_open_mrtg_log_file = mp_subcheck_init();
74 77
75 /* open the MRTG log file for reading */ 78 /* open the MRTG log file for reading */
@@ -440,7 +443,7 @@ void print_help(void) {
440 printf("\n"); 443 printf("\n");
441 printf("%s\n", _("Notes:")); 444 printf("%s\n", _("Notes:"));
442 printf(" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from")); 445 printf(" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from"));
443 printf(" %s\n", " http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"); 446 printf(" %s\n", " https://oss.oetiker.ch/mrtg/");
444 printf(" %s\n", _("- While MRTG can monitor things other than traffic rates, this")); 447 printf(" %s\n", _("- While MRTG can monitor things other than traffic rates, this"));
445 printf(" %s\n", _(" plugin probably won't work with much else without modification.")); 448 printf(" %s\n", _(" plugin probably won't work with much else without modification."));
446 printf(" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually")); 449 printf(" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually"));