summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-11-23 22:06:28 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-11-23 22:06:28 (GMT)
commit04a8b31d190f2ad4dfa9550d605290a426ce1ff0 (patch)
treed8746d209070f9d74f0ecc118feeab9c1dac9117
parent97131650ea6bf9f16b775743e9931a91ea441887 (diff)
downloadmonitoring-plugins-04a8b31d190f2ad4dfa9550d605290a426ce1ff0.tar.gz
comments and notes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/dermoth_ntp_rework@1833 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_ntp_peer.c14
-rw-r--r--plugins/check_ntp_time.c14
2 files changed, 25 insertions, 3 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 840fe0a..016a034 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -12,9 +12,14 @@
12* 12*
13* This file contains the check_ntp_peer plugin 13* This file contains the check_ntp_peer plugin
14* 14*
15* This plugin to check ntp servers independant of any commandline 15* This plugin checks an NTP server independent of any commandline
16* programs or external libraries. 16* programs or external libraries.
17* 17*
18* Use this plugin to check the health of an NTP server. It supports
19* checking the offset with the sync peer, the jitter and stratum. This
20* plugin will not check the clock offset between the local host and NTP
21* server; please use check_ntp_time for that purpose.
22*
18* 23*
19* License Information: 24* License Information:
20* 25*
@@ -592,6 +597,13 @@ void print_help(void){
592 597
593 printf("\n"); 598 printf("\n");
594 printf("%s\n", _("Notes:")); 599 printf("%s\n", _("Notes:"));
600 printf(" %s\n", _("This plugin checks an NTP server independent of any commandline"));
601 printf(" %s\n\n", _("programs or external libraries."));
602 printf(" %s\n", _("Use this plugin to check the health of an NTP server. It supports"));
603 printf(" %s\n", _("checking the offset with the sync peer, the jitter and stratum. This"));
604 printf(" %s\n", _("plugin will not check the clock offset between the local host and NTP"));
605 printf(" %s\n\n", _("server; please use check_ntp_time for that purpose."));
606
595 printf(" %s\n", _("See:")); 607 printf(" %s\n", _("See:"));
596 printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); 608 printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT"));
597 printf(" %s\n", _("for THRESHOLD format and examples.")); 609 printf(" %s\n", _("for THRESHOLD format and examples."));
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index c945076..85015d6 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -12,8 +12,12 @@
12* 12*
13* This file contains the check_ntp_time plugin 13* This file contains the check_ntp_time plugin
14* 14*
15* This plugin checks the clock offset with an NTP server. It is 15* This plugin checks the clock offset between the local host and a
16* independant of any commandline programs or external libraries. 16* remote NTP server. It is independent of any commandline programs or
17* external libraries.
18*
19* If you'd rather want to monitor an NTP server, please use
20* check_ntp_peer.
17* 21*
18* 22*
19* License Information: 23* License Information:
@@ -594,6 +598,12 @@ void print_help(void){
594 598
595 printf("\n"); 599 printf("\n");
596 printf("%s\n", _("Notes:")); 600 printf("%s\n", _("Notes:"));
601 printf(" %s\n", _("This plugin checks the clock offset between the local host and a"));
602 printf(" %s\n", _("remote NTP server. It is independent of any commandline programs or"));
603 printf(" %s\n\n", _("external libraries."));
604 printf(" %s\n", _("If you'd rather want to monitor an NTP server, please use"));
605 printf(" %s\n\n", _("check_ntp_peer."));
606
597 printf(" %s\n", _("See:")); 607 printf(" %s\n", _("See:"));
598 printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); 608 printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT"));
599 printf(" %s\n", _("for THRESHOLD format and examples.")); 609 printf(" %s\n", _("for THRESHOLD format and examples."));