[checkmk-commits] Check_MK Git: check_mk: #1099 FIX tsm_scratch: now returns the variable name instead the values during inventory

Andreas Boesl ab at mathias-kettner.de
Tue Aug 26 10:46:02 CEST 2014


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

Author: Andreas Boesl <ab at mathias-kettner.de>
Date:   Tue Aug 26 10:45:34 2014 +0200

#1099 FIX tsm_scratch: now returns the variable name instead the values during inventory

In the previous version the parameter values got hardcoded up to the next inventory of this host

---

 .werks/1099        |    9 +++++++++
 ChangeLog          |    2 ++
 checks/tsm_scratch |    2 +-
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/.werks/1099 b/.werks/1099
new file mode 100644
index 0000000..1cf9564
--- /dev/null
+++ b/.werks/1099
@@ -0,0 +1,9 @@
+Title: tsm_scratch: now returns the variable name instead the values during inventory
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i6
+Date: 1409042591
+Class: fix
+
+In the previous version the parameter values got hardcoded up to the next inventory of this host
diff --git a/ChangeLog b/ChangeLog
index 2b7b6b5..dcb45f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -59,6 +59,7 @@
     * 1145 FIX: windows_tasks: handle case correctly where task is currently running...
     * 1378 FIX: mk_logwatch: remove exceeding \n when rewriting message and using \0...
     * 1147 FIX: upc_capacity, ups_socomec_capacity: Fix checking of battery left levels...
+    * 1099 FIX: tsm_scratch: now returns the variable name instead the values during inventory...
 
     Multisite:
     * 1066 Implemented Dashboard Designer...
@@ -67,6 +68,7 @@
     * 1154 FIX: Availability: Fixed unwanted redirect to edit annotation page after editing availability options...
 
     WATO:
+    * 1095 New WATO Web-API: Now able to manage hosts via web automation calls
     * 1096 New WATO webservices: manage hosts via webinterface...
     * 1155 NagVis map edit/view permissions can now be set using roles...
     * 1064 FIX: Fixed rare issue with WATO communication in distributed setups (different OS versions)...
diff --git a/checks/tsm_scratch b/checks/tsm_scratch
index 1cfa9cb..6d8997d 100644
--- a/checks/tsm_scratch
+++ b/checks/tsm_scratch
@@ -36,7 +36,7 @@ def inventory_tsm_scratch(info):
             item = "%s / %s" % ( inst, library )
         else:
             item = library
-        inventory.append((item, tsm_scratch_default_levels))
+        inventory.append((item, "tsm_scratch_default_levels"))
 
     return inventory
 



More information about the checkmk-commits mailing list