diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-29 09:01:48 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-29 09:01:48 +0000 |
commit | dbd7b90170929a078bfcb62d6fce09569312d050 (patch) | |
tree | 3e658bc70810ba22b06232c04d07e2206dbb5d2f | |
parent | 767bf9a0f207f64fb688c072ba33cf9276d0cb42 (diff) | |
download | monitoring-plugins-dbd7b90170929a078bfcb62d6fce09569312d050.tar.gz |
Use UT_THRESHOLDS_NOTES in all plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1986 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | plugins/check_ntp.c | 4 | ||||
-rw-r--r-- | plugins/check_ntp_peer.c | 9 | ||||
-rw-r--r-- | plugins/check_ntp_time.c | 11 |
3 files changed, 10 insertions, 14 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index ec8cd13d..69c25f0e 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c @@ -858,9 +858,7 @@ void print_help(void){ printf("\n"); printf("%s\n", _("Notes:")); - printf(" %s\n", _("See:")); - printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); - printf(" %s\n", _("for THRESHOLD format and examples.")); + printf(_(UT_THRESHOLDS_NOTES)); printf("\n"); printf("%s\n", _("Examples:")); diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index f6c33d61..5ed97db2 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c @@ -657,17 +657,16 @@ void print_help(void){ printf (_(UT_VERBOSE)); printf("\n"); + printf("%s\n", _("This plugin checks an NTP server independent of any commandline")); + printf("%s\n\n", _("programs or external libraries.")); + printf("%s\n", _("Notes:")); - printf(" %s\n", _("This plugin checks an NTP server independent of any commandline")); - printf(" %s\n\n", _("programs or external libraries.")); printf(" %s\n", _("Use this plugin to check the health of an NTP server. It supports")); printf(" %s\n", _("checking the offset with the sync peer, the jitter and stratum. This")); printf(" %s\n", _("plugin will not check the clock offset between the local host and NTP")); printf(" %s\n\n", _("server; please use check_ntp_time for that purpose.")); - printf(" %s\n", _("See:")); - printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); - printf(" %s\n", _("for THRESHOLD format and examples.")); + printf(_(UT_THRESHOLDS_NOTES)); printf("\n"); printf("%s\n", _("Examples:")); diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 85e11771..ec41429e 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c @@ -608,16 +608,15 @@ void print_help(void){ printf (_(UT_VERBOSE)); printf("\n"); + printf("%s\n", _("This plugin checks the clock offset between the local host and a")); + printf("%s\n", _("remote NTP server. It is independent of any commandline programs or")); + printf("%s\n\n", _("external libraries.")); + printf("%s\n", _("Notes:")); - printf(" %s\n", _("This plugin checks the clock offset between the local host and a")); - printf(" %s\n", _("remote NTP server. It is independent of any commandline programs or")); - printf(" %s\n\n", _("external libraries.")); printf(" %s\n", _("If you'd rather want to monitor an NTP server, please use")); printf(" %s\n\n", _("check_ntp_peer.")); - printf(" %s\n", _("See:")); - printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); - printf(" %s\n", _("for THRESHOLD format and examples.")); + printf(_(UT_THRESHOLDS_NOTES)); printf("\n"); printf("%s\n", _("Examples:")); |