[checkmk-commits] 3880 FIX fixed missing number in check details

Simon Betz si at mathias-kettner.de
Tue Sep 27 08:01:42 CEST 2016


Module: check_mk
Branch: master
Commit: 56c52bd194a4fadd1a79001a0275b4813d5c6759
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=56c52bd194a4fadd1a79001a0275b4813d5c6759

Author: Simon Betz <si at mathias-kettner.de>
Date:   Tue Sep 27 08:00:42 2016 +0200

3880 FIX fixed missing number in check details

---

 .werks/3880                           | 10 ++++++++++
 ChangeLog                             |  1 +
 doc/treasures/active_checks/check_sql |  2 +-
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/.werks/3880 b/.werks/3880
new file mode 100644
index 0000000..db8d003
--- /dev/null
+++ b/.werks/3880
@@ -0,0 +1,10 @@
+Title: fixed missing number in check details
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1474955961
+
+
diff --git a/ChangeLog b/ChangeLog
index 1d5a1ea..a95239d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -412,6 +412,7 @@
     * 3840 FIX: cisco_qos: Fixed wrong units in graphs...
     * 3890 FIX: check_mk_agent.openbsd: Fixed broken MRPE checks
     * 3814 FIX: win_netstat: fixed unicode warning while parsing data
+    * 3880 FIX: fixed missing number in check details
 
     Multisite:
     * 3187 notification view: new filter for log command via regex
diff --git a/doc/treasures/active_checks/check_sql b/doc/treasures/active_checks/check_sql
index 2d89373..ead9edd 100755
--- a/doc/treasures/active_checks/check_sql
+++ b/doc/treasures/active_checks/check_sql
@@ -254,7 +254,7 @@ try:
         sys.exit(3)
 
     number = float(result[0])
-    text   = str(result[1])
+    text   = "%s %s" % (number, str(result[1]))
 
     try:
         perf = " | performance_data=%s" % str(result[2])



More information about the checkmk-commits mailing list