summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r--plugins/check_mrtg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index bb38fcc5..5c05426d 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -72,6 +72,8 @@ int main(int argc, char **argv) {
72 72
73 mp_check overall = mp_check_init(); 73 mp_check overall = mp_check_init();
74 74
75 mp_set_ok_summary(&overall, "Values in MRTG log are OK");
76
75 /* open the MRTG log file for reading */ 77 /* open the MRTG log file for reading */
76 mp_subcheck sc_open_mrtg_log_file = mp_subcheck_init(); 78 mp_subcheck sc_open_mrtg_log_file = mp_subcheck_init();
77 FILE *mtrg_log_file = fopen(config.log_file, "r"); 79 FILE *mtrg_log_file = fopen(config.log_file, "r");
@@ -436,7 +438,7 @@ void print_help(void) {
436 printf(" %s\n", _("you can always hack the code to make this plugin work for you...")); 438 printf(" %s\n", _("you can always hack the code to make this plugin work for you..."));
437 printf(" %s\n", 439 printf(" %s\n",
438 _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from")); 440 _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from"));
439 printf(" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"); 441 printf(" %s\n", "https://oss.oetiker.ch/mrtg/");
440 442
441 printf(UT_SUPPORT); 443 printf(UT_SUPPORT);
442} 444}