Code

check_host: Allocate a large-enough buffer for the host table.
[nagiosplug.git] / plugins / check_mrtg.c
index 65260ed1bae406c8da0ff55d98ab65fc180e7467..d6162f35dee7f2b4837ac43bee4664cabd985d37 100644 (file)
@@ -325,8 +325,8 @@ print_help (void)
 
        print_usage ();
 
-       printf (_(UT_HELP_VRSN));
-       printf (_(UT_EXTRA_OPTS));
+       printf (UT_HELP_VRSN);
+       printf (UT_EXTRA_OPTS);
 
        printf (" %s\n", "-F, --logfile=FILE");
   printf ("   %s\n", _("The MRTG log file containing the data you want to monitor"));
@@ -367,11 +367,8 @@ print_help (void)
   printf ("   %s\n", _("you can always hack the code to make this plugin work for you..."));
   printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher.  It can be downloaded from"));
   printf ("   %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
-#ifdef NP_EXTRA_OPTS
-       printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
-#endif
 
-       printf (_(UT_SUPPORT));
+       printf (UT_SUPPORT);
 }
 
 
@@ -382,7 +379,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n",progname);
   printf ("[-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\n");
 }