[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1986] nagiosplug/trunk/plugins

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Tue Apr 29 11:01:49 CEST 2008


Revision: 1986
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1986&view=rev
Author:   dermoth
Date:     2008-04-29 02:01:48 -0700 (Tue, 29 Apr 2008)

Log Message:
-----------
Use UT_THRESHOLDS_NOTES in all plugins

Modified Paths:
--------------
    nagiosplug/trunk/plugins/check_ntp.c
    nagiosplug/trunk/plugins/check_ntp_peer.c
    nagiosplug/trunk/plugins/check_ntp_time.c

Modified: nagiosplug/trunk/plugins/check_ntp.c
===================================================================
--- nagiosplug/trunk/plugins/check_ntp.c	2008-04-29 09:01:31 UTC (rev 1985)
+++ nagiosplug/trunk/plugins/check_ntp.c	2008-04-29 09:01:48 UTC (rev 1986)
@@ -858,9 +858,7 @@
 
 	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:"));

Modified: nagiosplug/trunk/plugins/check_ntp_peer.c
===================================================================
--- nagiosplug/trunk/plugins/check_ntp_peer.c	2008-04-29 09:01:31 UTC (rev 1985)
+++ nagiosplug/trunk/plugins/check_ntp_peer.c	2008-04-29 09:01:48 UTC (rev 1986)
@@ -657,17 +657,16 @@
 	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:"));

Modified: nagiosplug/trunk/plugins/check_ntp_time.c
===================================================================
--- nagiosplug/trunk/plugins/check_ntp_time.c	2008-04-29 09:01:31 UTC (rev 1985)
+++ nagiosplug/trunk/plugins/check_ntp_time.c	2008-04-29 09:01:48 UTC (rev 1986)
@@ -608,16 +608,15 @@
 	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:"));


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list