summaryrefslogtreecommitdiffstats
path: root/monitoring-plugins/monitoring-plugins-0007-Fix-the-use-lib-statement-and-the-external-ntp-comma.patch
blob: 21b0bb40cb35bbffb38c2e912016b3084bcf7810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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