diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_cluster.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 10773f0..9ded4a8 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | const char *progname = "check_cluster"; | 30 | const char *progname = "check_cluster"; |
31 | const char *revision = "$Revision$"; | 31 | const char *revision = "$Revision$"; |
32 | const char *copyright = "2000-2007"; | 32 | const char *copyright = "2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
@@ -219,13 +219,15 @@ void | |||
219 | print_help(void) | 219 | print_help(void) |
220 | { | 220 | { |
221 | print_revision(progname, revision); | 221 | print_revision(progname, revision); |
222 | printf ("Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)\n"); | ||
222 | printf(COPYRIGHT, copyright, email); | 223 | printf(COPYRIGHT, copyright, email); |
223 | 224 | ||
224 | printf("%s\n", _("Host/Service Cluster Plugin for Nagios 2")); | 225 | printf(_("Host/Service Cluster Plugin for Nagios 2")); |
226 | printf("\n\n"); | ||
225 | 227 | ||
226 | print_usage(); | 228 | print_usage(); |
227 | 229 | ||
228 | 230 | printf("\n"); | |
229 | printf("%s\n", _("Options:")); | 231 | printf("%s\n", _("Options:")); |
230 | printf (" %s\n", "-s, --service"); | 232 | printf (" %s\n", "-s, --service"); |
231 | printf (" %s\n", _("Check service cluster status")); | 233 | printf (" %s\n", _("Check service cluster status")); |
@@ -248,7 +250,7 @@ print_help(void) | |||
248 | printf("\n"); | 250 | printf("\n"); |
249 | printf("%s\n", _("Notes:")); | 251 | printf("%s\n", _("Notes:")); |
250 | printf(" %s\n", _("See:")); | 252 | printf(" %s\n", _("See:")); |
251 | printf(" %s\n", _("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); | 253 | printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); |
252 | printf(" %s\n", _("for THRESHOLD format and examples.")); | 254 | printf(" %s\n", _("for THRESHOLD format and examples.")); |
253 | 255 | ||
254 | printf(_(UT_SUPPORT)); | 256 | printf(_(UT_SUPPORT)); |
@@ -260,14 +262,9 @@ void | |||
260 | print_usage(void) | 262 | print_usage(void) |
261 | { | 263 | { |
262 | 264 | ||
263 | printf("\n"); | ||
264 | printf(_("Usage:")); | 265 | printf(_("Usage:")); |
265 | printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname); | 266 | printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname); |
266 | printf("[-w threshold] [-c threshold] [-v] [--help]\n"); | 267 | printf("[-w threshold] [-c threshold] [-v] [--help]\n"); |
267 | printf("\n"); | ||
268 | 268 | ||
269 | } | 269 | } |
270 | 270 | ||
271 | #if 0 | ||
272 | #endif | ||
273 | |||