summaryrefslogtreecommitdiffstats
path: root/monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma....
diff options
context:
space:
mode:
authorSam Kottler <shk@redhat.com>2014-02-03 09:39:51 +0100
committerSam Kottler <shk@redhat.com>2014-02-03 09:39:51 +0100
commit3073c3da9ca580c0e34c1d4426f634cd51ef96bb (patch)
tree760286469a8cb75e96d33438f835a9a2763a3c5c /monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch
parent57a5bcb9d69aa07c56231034bec782ba99e6ac12 (diff)
downloadpackages-3073c3da9ca580c0e34c1d4426f634cd51ef96bb.tar.gz
packages-3073c3da9ca580c0e34c1d4426f634cd51ef96bb.tar.xz
packages-3073c3da9ca580c0e34c1d4426f634cd51ef96bb.zip
Add the monitoring-plugins package
Diffstat (limited to 'monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch')
-rw-r--r--monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch b/monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch
new file mode 100644
index 0000000..21b0bb4
--- /dev/null
+++ b/monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch
@@ -0,0 +1,27 @@
+From 068f0b35c52d5d192ef044a519fcb8fa7679d31d Mon Sep 17 00:00:00 2001
+From: Jose Pedro Oliveira <jpo@di.uminho.pt>
+Date: Fri, 17 Aug 2012 13:45:19 +0100
+Subject: [PATCH 07/10] Fix the use lib statement and the external ntp commands
+ paths in check-ntp.pl
+
+---
+ plugins-scripts/utils.pm.in | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in
+index 37cd62c..626a5a9 100644
+--- a/plugins-scripts/utils.pm.in
++++ b/plugins-scripts/utils.pm.in
+@@ -22,6 +22,9 @@ $PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ;
+ $PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ;
+ $PATH_TO_MAILQ = "@PATH_TO_MAILQ@";
+ $PATH_TO_QMAIL_QSTAT = "@PATH_TO_QMAIL_QSTAT@";
++# Hardcoded values (autotools patch will be provided to the uptream project)
++$PATH_TO_NTPDATE = "/usr/sbin/ntpdate";
++$PATH_TO_NTPQ = "/usr/sbin/ntpq";
+
+ ## common variables
+ $TIMEOUT = 15;
+--
+1.8.3.1
+