diff options
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r-- | plugins/check_ntp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index fdbdc14..35fddec 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -842,9 +842,9 @@ void print_help(void){ | |||
842 | printf ("\n\n"); | 842 | printf ("\n\n"); |
843 | 843 | ||
844 | print_usage(); | 844 | print_usage(); |
845 | printf (_(UT_HELP_VRSN)); | 845 | printf (UT_HELP_VRSN); |
846 | printf (_(UT_EXTRA_OPTS)); | 846 | printf (UT_EXTRA_OPTS); |
847 | printf (_(UT_HOST_PORT), 'p', "123"); | 847 | printf (UT_HOST_PORT, 'p', "123"); |
848 | printf (" %s\n", "-w, --warning=THRESHOLD"); | 848 | printf (" %s\n", "-w, --warning=THRESHOLD"); |
849 | printf (" %s\n", _("Offset to result in warning status (seconds)")); | 849 | printf (" %s\n", _("Offset to result in warning status (seconds)")); |
850 | printf (" %s\n", "-c, --critical=THRESHOLD"); | 850 | printf (" %s\n", "-c, --critical=THRESHOLD"); |
@@ -853,15 +853,15 @@ void print_help(void){ | |||
853 | printf (" %s\n", _("Warning threshold for jitter")); | 853 | printf (" %s\n", _("Warning threshold for jitter")); |
854 | printf (" %s\n", "-k, --jcrit=THRESHOLD"); | 854 | printf (" %s\n", "-k, --jcrit=THRESHOLD"); |
855 | printf (" %s\n", _("Critical threshold for jitter")); | 855 | printf (" %s\n", _("Critical threshold for jitter")); |
856 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 856 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
857 | printf (_(UT_VERBOSE)); | 857 | printf (UT_VERBOSE); |
858 | 858 | ||
859 | printf("\n"); | 859 | printf("\n"); |
860 | printf("%s\n", _("Notes:")); | 860 | printf("%s\n", _("Notes:")); |
861 | printf(_(UT_THRESHOLDS_NOTES)); | 861 | printf(UT_THRESHOLDS_NOTES); |
862 | #ifdef NP_EXTRA_OPTS | 862 | #ifdef NP_EXTRA_OPTS |
863 | printf("\n"); | 863 | printf("\n"); |
864 | printf(_(UT_EXTRA_OPTS_NOTES)); | 864 | printf(UT_EXTRA_OPTS_NOTES); |
865 | #endif | 865 | #endif |
866 | 866 | ||
867 | printf("\n"); | 867 | printf("\n"); |
@@ -873,7 +873,7 @@ void print_help(void){ | |||
873 | printf(" %s\n", _("(See Notes above for more details on thresholds formats):")); | 873 | printf(" %s\n", _("(See Notes above for more details on thresholds formats):")); |
874 | printf(" %s\n", ("./check_ntp -H ntpserv -w 0.5 -c 1 -j -1:100 -k -1:200")); | 874 | printf(" %s\n", ("./check_ntp -H ntpserv -w 0.5 -c 1 -j -1:100 -k -1:200")); |
875 | 875 | ||
876 | printf (_(UT_SUPPORT)); | 876 | printf (UT_SUPPORT); |
877 | 877 | ||
878 | printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or")); | 878 | printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or")); |
879 | printf ("%s\n\n", _("check_ntp_time instead.")); | 879 | printf ("%s\n\n", _("check_ntp_time instead.")); |