diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-17 12:28:43 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-17 12:28:43 (GMT) |
commit | cbbfed30eb01a702b2e61c0abcb64c834e73d654 (patch) | |
tree | b9d050fa415733f80306530e1ed028ef3ce9759a /plugins/check_nwstat.c | |
parent | e5324624caefb201439012d795bebdf46966ec9c (diff) | |
download | monitoring-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.c | 19 |
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 | ||
21 | const char *progname = "check_nwstat"; | 21 | const char *progname = "check_nwstat"; |
22 | const char *revision = "$Revision$"; | 22 | const char *revision = "$Revision$"; |
23 | const char *copyright = "2000-2004"; | 23 | const char *copyright = "2000-2006"; |
24 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 24 | const 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")); |
1017 | This plugin attempts to contact the MRTGEXT NLM running on a\n\ | 1017 | printf ("%s\n", _("Novell server to gather the requested system information.")); |
1018 | Novell 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"); |
1080 | Notes:\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 | ||
1093 | void print_usage(void) | 1095 | void print_usage(void) |
1094 | { | 1096 | { |
1095 | printf ("\ | 1097 | printf (_("Usage:")); |
1096 | Usage: %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 | } |