blob: c4be8270ca2c77881006e6413d154efe271fe5d0 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From ccaf4225239c3092a51cf44f2ab0a2141b8a5fa6 Mon Sep 17 00:00:00 2001
2From: Luca Palano <github@lpzone.it>
3Date: Wed, 5 Dec 2018 10:36:52 +0100
4Subject: [PATCH 1/2] Correct of timeout issue
5
6The timeout issue has been disabled
7
8Signed-off-by: Luca Palano <github@lpzone.it>
9---
10 collectors/charts.d.plugin/charts.d.plugin.in | 9 +++++----
11 1 file changed, 5 insertions(+), 4 deletions(-)
12
13diff --git a/collectors/charts.d.plugin/charts.d.plugin.in b/collectors/charts.d.plugin/charts.d.plugin.in
14index 0df6c30c..63ea4506 100755
15--- a/collectors/charts.d.plugin/charts.d.plugin.in
16+++ b/collectors/charts.d.plugin/charts.d.plugin.in
17@@ -156,7 +156,7 @@ restart_timeout=$((3600 * 4))
18 dryrunner=0
19
20 # check for timeout command
21-check_for_timeout=1
22+check_for_timeout=0
23
24 # the default enable/disable value for all charts
25 enable_all_charts="yes"
26@@ -251,9 +251,10 @@ time_divisor=$((time_divisor))
27 # timeout command we use, providing a function that
28 # can emulate the timeout command we need:
29 # > timeout SECONDS command ...
30-if [ $check_for_timeout -eq 1 ]; then
31- require_cmd timeout || exit 1
32-fi
33+#if [ $check_for_timeout -eq 1 ]
34+# then
35+# require_cmd timeout || exit 1
36+#fi
37
38 # -----------------------------------------------------------------------------
39 # internal checks
40--
412.20.1 (Apple Git-117)
42