Module: check_mk
Branch: master
Commit: 565bf199088b32ab98a6819e8fd941c286128db2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=565bf199088b32…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Wed Aug 1 14:13:19 2018 +0200
checks/check_sql: prepare for the day someone wants to use negative levels.
Change-Id: If9dd0ce0394c9351b0f339be123417a979181164
---
checks/check_sql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/check_sql b/checks/check_sql
index af13569..cea4d06 100644
--- a/checks/check_sql
+++ b/checks/check_sql
@@ -69,8 +69,8 @@ def check_sql_arguments(params):
args += [ "--metrics" ]
if "levels" in params or "levels_low" in params:
- args += [ "-w", "%s:%s" % (lower[0], upper[0]) ]
- args += [ "-c", "%s:%s" % (lower[1], upper[1]) ]
+ args += [ "-w%s:%s" % (lower[0], upper[0]) ]
+ args += [ "-c%s:%s" % (lower[1], upper[1]) ]
if type(params["sql"]) == tuple:
sql_tmp = params["sql"][-1]