diff options
-rw-r--r-- | plugins/check_ntp_peer.c | 14 | ||||
-rw-r--r-- | plugins/check_ntp_time.c | 14 |
2 files changed, 25 insertions, 3 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 840fe0ac..016a034e 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 c945076d..85015d65 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.")); |