summaryrefslogtreecommitdiffstats
path: root/plugins/check_nwstat.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-06-17 12:28:43 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2006-06-17 12:28:43 (GMT)
commitcbbfed30eb01a702b2e61c0abcb64c834e73d654 (patch)
treeb9d050fa415733f80306530e1ed028ef3ce9759a /plugins/check_nwstat.c
parente5324624caefb201439012d795bebdf46966ec9c (diff)
downloadmonitoring-plugins-cbbfed30eb01a702b2e61c0abcb64c834e73d654.tar.gz
cleaning up help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1433 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_nwstat.c')
-rw-r--r--plugins/check_nwstat.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index 6465dae..7495cae 100644
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.c
@@ -20,7 +20,7 @@
20 20
21const char *progname = "check_nwstat"; 21const char *progname = "check_nwstat";
22const char *revision = "$Revision$"; 22const char *revision = "$Revision$";
23const char *copyright = "2000-2004"; 23const char *copyright = "2000-2006";
24const char *email = "nagiosplug-devel@lists.sourceforge.net"; 24const char *email = "nagiosplug-devel@lists.sourceforge.net";
25 25
26#include "common.h" 26#include "common.h"
@@ -1013,9 +1013,10 @@ void print_help(void)
1013 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 1013 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
1014 printf (COPYRIGHT, copyright, email); 1014 printf (COPYRIGHT, copyright, email);
1015 1015
1016 printf (_("\ 1016 printf ("%s\n", _("This plugin attempts to contact the MRTGEXT NLM running on a"));
1017This plugin attempts to contact the MRTGEXT NLM running on a\n\ 1017 printf ("%s\n", _("Novell server to gather the requested system information."));
1018Novell server to gather the requested system information.\n\n")); 1018
1019 printf ("\n\n");
1019 1020
1020 print_usage(); 1021 print_usage();
1021 1022
@@ -1076,8 +1077,9 @@ Novell server to gather the requested system information.\n\n"));
1076 1077
1077 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 1078 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
1078 1079
1079 printf (_("\n\ 1080 printf ("\n");
1080Notes:\n\ 1081 printf ("%s\n", _("Notes:"));
1082 printf (_("\
1081- This plugin requres that the MRTGEXT.NLM file from James Drews' MRTG\n\ 1083- This plugin requres that the MRTGEXT.NLM file from James Drews' MRTG\n\
1082 extension for NetWare be loaded on the Novell servers you wish to check.\n\ 1084 extension for NetWare be loaded on the Novell servers you wish to check.\n\
1083 (available from http://www.engr.wisc.edu/~drews/mrtg/)\n\ 1085 (available from http://www.engr.wisc.edu/~drews/mrtg/)\n\
@@ -1092,7 +1094,6 @@ Notes:\n\
1092 1094
1093void print_usage(void) 1095void print_usage(void)
1094{ 1096{
1095 printf ("\ 1097 printf (_("Usage:"));
1096Usage: %s -H host [-p port] [-v variable] [-w warning] [-c critical]\n\ 1098 printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n",progname);
1097 [-t timeout].\n", progname);
1098} 1099}