diff options
Diffstat (limited to 'plugins/check_ntp_time.c')
| -rw-r--r-- | plugins/check_ntp_time.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index c7c7a754..cd412fe5 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c | |||
| @@ -600,17 +600,17 @@ void print_help(void){ | |||
| 600 | printf ("\n\n"); | 600 | printf ("\n\n"); |
| 601 | 601 | ||
| 602 | print_usage(); | 602 | print_usage(); |
| 603 | printf (_(UT_HELP_VRSN)); | 603 | printf (UT_HELP_VRSN); |
| 604 | printf (_(UT_EXTRA_OPTS)); | 604 | printf (UT_EXTRA_OPTS); |
| 605 | printf (_(UT_HOST_PORT), 'p', "123"); | 605 | printf (UT_HOST_PORT, 'p', "123"); |
| 606 | printf (" %s\n", "-q, --quiet"); | 606 | printf (" %s\n", "-q, --quiet"); |
| 607 | printf (" %s\n", _("Returns UNKNOWN instead of CRITICAL if offset cannot be found")); | 607 | printf (" %s\n", _("Returns UNKNOWN instead of CRITICAL if offset cannot be found")); |
| 608 | printf (" %s\n", "-w, --warning=THRESHOLD"); | 608 | printf (" %s\n", "-w, --warning=THRESHOLD"); |
| 609 | printf (" %s\n", _("Offset to result in warning status (seconds)")); | 609 | printf (" %s\n", _("Offset to result in warning status (seconds)")); |
| 610 | printf (" %s\n", "-c, --critical=THRESHOLD"); | 610 | printf (" %s\n", "-c, --critical=THRESHOLD"); |
| 611 | printf (" %s\n", _("Offset to result in critical status (seconds)")); | 611 | printf (" %s\n", _("Offset to result in critical status (seconds)")); |
| 612 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 612 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
| 613 | printf (_(UT_VERBOSE)); | 613 | printf (UT_VERBOSE); |
| 614 | 614 | ||
| 615 | printf("\n"); | 615 | printf("\n"); |
| 616 | printf("%s\n", _("This plugin checks the clock offset between the local host and a")); | 616 | printf("%s\n", _("This plugin checks the clock offset between the local host and a")); |
| @@ -622,17 +622,17 @@ void print_help(void){ | |||
| 622 | printf(" %s\n", _("If you'd rather want to monitor an NTP server, please use")); | 622 | printf(" %s\n", _("If you'd rather want to monitor an NTP server, please use")); |
| 623 | printf(" %s\n", _("check_ntp_peer.")); | 623 | printf(" %s\n", _("check_ntp_peer.")); |
| 624 | printf("\n"); | 624 | printf("\n"); |
| 625 | printf(_(UT_THRESHOLDS_NOTES)); | 625 | printf(UT_THRESHOLDS_NOTES); |
| 626 | #ifdef NP_EXTRA_OPTS | 626 | #ifdef NP_EXTRA_OPTS |
| 627 | printf("\n"); | 627 | printf("\n"); |
| 628 | printf(_(UT_EXTRA_OPTS_NOTES)); | 628 | printf(UT_EXTRA_OPTS_NOTES); |
| 629 | #endif | 629 | #endif |
| 630 | 630 | ||
| 631 | printf("\n"); | 631 | printf("\n"); |
| 632 | printf("%s\n", _("Examples:")); | 632 | printf("%s\n", _("Examples:")); |
| 633 | printf(" %s\n", ("./check_ntp_time -H ntpserv -w 0.5 -c 1")); | 633 | printf(" %s\n", ("./check_ntp_time -H ntpserv -w 0.5 -c 1")); |
| 634 | 634 | ||
| 635 | printf (_(UT_SUPPORT)); | 635 | printf (UT_SUPPORT); |
| 636 | } | 636 | } |
| 637 | 637 | ||
| 638 | void | 638 | void |
