From 5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Fri, 3 Dec 2004 23:02:04 +0000 Subject: print_help and print_usage() cleanup other misc cleanups git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_mrtgtraf.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/check_mrtgtraf.c') diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index 9b408a42..0f7afbc8 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c @@ -321,6 +321,14 @@ print_help (void) printf ("Copyright (c) 1999 Ethan Galstad \n"); printf (COPYRIGHT, copyright, email); + printf (_("\n\ +This plugin will check the incoming/outgoing transfer rates of a router,\n\ +switch, etc recorded in an MRTG log. If the newest log entry is older\n\ +than , a WARNING status is returned. If either the\n\ +incoming or outgoing rates exceed the or thresholds (in\n\ +Bytes/sec), a CRITICAL status results. If either of the rates exceed\n\ +the or thresholds (in Bytes/sec), a WARNING status results.\n\n")); + print_usage (); printf (_(UT_HELP_VRSN)); @@ -337,14 +345,6 @@ print_help (void) -c, --critical\n\ Critical threshold pair \",\"\n")); - printf (_("\n\ -This plugin will check the incoming/outgoing transfer rates of a router,\n\ -switch, etc recorded in an MRTG log. If the newest log entry is older\n\ -than , a WARNING status is returned. If either the\n\ -incoming or outgoing rates exceed the or thresholds (in\n\ -Bytes/sec), a CRITICAL status results. If either of the rates exceed\n\ -the or thresholds (in Bytes/sec), a WARNING status results.\n\n")); - printf (_("Notes:\n\ - MRTG stands for Multi Router Traffic Grapher. It can be downloaded from\n\ http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html\n\ @@ -363,6 +363,6 @@ void print_usage (void) { printf ("\ -Usage: %s -F -a -v -w -c \n\ - [-e expire_minutes] [-t timeout] [-v]\n", progname); +Usage: %s -F -a -v -w \n\ + -c [-e expire_minutes] [-t timeout] [-v]\n", progname); } -- cgit v1.2.3