From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- .../263786-30_fix_check_ntp_options.dpatch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 web/attachments/263786-30_fix_check_ntp_options.dpatch (limited to 'web/attachments/263786-30_fix_check_ntp_options.dpatch') diff --git a/web/attachments/263786-30_fix_check_ntp_options.dpatch b/web/attachments/263786-30_fix_check_ntp_options.dpatch new file mode 100644 index 0000000..2a1c2d6 --- /dev/null +++ b/web/attachments/263786-30_fix_check_ntp_options.dpatch @@ -0,0 +1,27 @@ +## 30_fix_check_ntp_options.dpatch by Jan Wagner +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix options for check_ntp_time and check_ntp_peer + +--- nagios-plugins-1.4.11/plugins/check_ntp_time.c.orig 2008-01-26 00:03:57.486086968 +0100 ++++ nagios-plugins-1.4.11/plugins/check_ntp_time.c 2008-01-26 00:04:26.652580066 +0100 +@@ -631,7 +631,6 @@ + print_usage(void) + { + printf (_("Usage:")); +- printf(" %s -H [-w ] [-c ] [-W ] [-C ]\n", progname); +- printf(" [-j ] [-k ] [-v verbose]\n"); ++ printf(" %s -H [-w ] [-c ] [-v verbose]\n", progname); + } + +--- nagios-plugins-1.4.11/plugins/check_ntp_peer.c.orig 2008-01-26 00:08:50.393996604 +0100 ++++ nagios-plugins-1.4.11/plugins/check_ntp_peer.c 2008-01-26 00:09:36.762190836 +0100 +@@ -642,7 +642,7 @@ + printf (" %s\n", _("Offset to result in critical status (seconds)")); + printf (" %s\n", "-W, --warning=THRESHOLD"); + printf (" %s\n", _("Warning threshold for stratum")); +- printf (" %s\n", "-W, --critical=THRESHOLD"); ++ printf (" %s\n", "-C, --critical=THRESHOLD"); + printf (" %s\n", _("Critical threshold for stratum")); + printf (" %s\n", "-j, --warning=THRESHOLD"); + printf (" %s\n", _("Warning threshold for jitter")); -- cgit v1.2.3-74-g34f1