diff options
Diffstat (limited to 'plugins/check_overcr.c')
-rw-r--r-- | plugins/check_overcr.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c index 6c3675b..af04d3b 100644 --- a/plugins/check_overcr.c +++ b/plugins/check_overcr.c | |||
@@ -99,6 +99,9 @@ main (int argc, char **argv) | |||
99 | bindtextdomain (PACKAGE, LOCALEDIR); | 99 | bindtextdomain (PACKAGE, LOCALEDIR); |
100 | textdomain (PACKAGE); | 100 | textdomain (PACKAGE); |
101 | 101 | ||
102 | /* Parse extra opts if any */ | ||
103 | argv=np_extra_opts (&argc, argv, progname); | ||
104 | |||
102 | if (process_arguments (argc, argv) == ERROR) | 105 | if (process_arguments (argc, argv) == ERROR) |
103 | usage4 (_("Could not parse arguments")); | 106 | usage4 (_("Could not parse arguments")); |
104 | 107 | ||
@@ -425,6 +428,7 @@ print_help (void) | |||
425 | print_usage (); | 428 | print_usage (); |
426 | 429 | ||
427 | printf (_(UT_HELP_VRSN)); | 430 | printf (_(UT_HELP_VRSN)); |
431 | printf (_(UT_EXTRA_OPTS)); | ||
428 | 432 | ||
429 | printf (_(UT_HOST_PORT), 'p', myport); | 433 | printf (_(UT_HOST_PORT), 'p', myport); |
430 | 434 | ||
@@ -445,17 +449,22 @@ print_help (void) | |||
445 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 449 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); |
446 | 450 | ||
447 | printf (_(UT_VERBOSE)); | 451 | printf (_(UT_VERBOSE)); |
448 | printf ("\n"); | ||
449 | printf ("%s\n", _("Notes:")); | ||
450 | 452 | ||
451 | printf (" %s\n", _("For the available options, the critical threshold value should always be")); | 453 | printf ("\n"); |
452 | printf (" %s\n\n", _("higher than the warning threshold value, EXCEPT with the uptime variable")); | 454 | printf ("%s\n", _("This plugin requires that Eric Molitors' Over-CR collector daemon be")); |
453 | |||
454 | printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be")); | ||
455 | printf ("%s\n", _("running on the remote server.")); | 455 | printf ("%s\n", _("running on the remote server.")); |
456 | printf ("%s\n", _("Over-CR can be downloaded from http://www.molitor.org/overcr")); | 456 | printf ("%s\n", _("Over-CR can be downloaded from http://www.molitor.org/overcr")); |
457 | printf ("%s\n", _("This plugin was tested with version 0.99.53 of the Over-CR collector")); | 457 | printf ("%s\n", _("This plugin was tested with version 0.99.53 of the Over-CR collector")); |
458 | 458 | ||
459 | printf ("\n"); | ||
460 | printf ("%s\n", _("Notes:")); | ||
461 | printf (" %s\n", _("For the available options, the critical threshold value should always be")); | ||
462 | printf (" %s\n", _("higher than the warning threshold value, EXCEPT with the uptime variable")); | ||
463 | #ifdef NP_EXTRA_OPTS | ||
464 | printf ("\n"); | ||
465 | printf (_(UT_EXTRA_OPTS_NOTES)); | ||
466 | #endif | ||
467 | |||
459 | printf (_(UT_SUPPORT)); | 468 | printf (_(UT_SUPPORT)); |
460 | } | 469 | } |
461 | 470 | ||