Code

Merge branch 'master' of ssh://tonvoon@nagiosplug.git.sourceforge.net/gitroot/nagiosp...
[nagiosplug.git] / plugins / check_mrtgtraf.c
index 3232f1e7a7681525afee1b76f58eb773f0a7aac8..4fd9bc0a72e2dea17ae62737e10e2783a60cd762 100644 (file)
@@ -199,7 +199,7 @@ main (int argc, char **argv)
                           (int)incoming_warning_threshold, incoming_warning_threshold,
                           (int)incoming_critical_threshold, incoming_critical_threshold,
                           TRUE, 0, FALSE, 0),
-                 fperfdata("in", adjusted_outgoing_rate, outgoing_speed_rating,
+                 fperfdata("out", adjusted_outgoing_rate, outgoing_speed_rating,
                           (int)outgoing_warning_threshold, outgoing_warning_threshold,
                           (int)outgoing_critical_threshold, outgoing_critical_threshold,
                           TRUE, 0, FALSE, 0));
@@ -343,8 +343,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, --filename=STRING");
   printf ("    %s\n", _("File to read log from"));
@@ -366,11 +366,8 @@ print_help (void)
   printf (" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually"));
   printf (" %s\n", _("  reports.  I'm not sure why this is right now, but will look into it"));
   printf (" %s\n", _("  for future enhancements of this plugin."));
-#ifdef NP_EXTRA_OPTS
-       printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
-#endif
 
-       printf (_(UT_SUPPORT));
+       printf (UT_SUPPORT);
 }