[checkmk-commits] Check_MK Git: check_mk: FIX: netapp_cluster: fix inventory function

git version control git at mathias-kettner.de
Tue Nov 13 15:46:19 CET 2012


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

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Tue Nov 13 15:46:06 2012 +0100

FIX: netapp_cluster: fix inventory function

---

 ChangeLog             |    1 +
 checks/netapp_cluster |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cbc264d..7246d22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -157,6 +157,7 @@
     * windows_updates agent plugin: Fetching data in background mode, caching
       update information for 30 minutes
     * FIX: netapp_vfiler: fix inventory function (thanks to Falk Krentzlin)
+    * FIX: netapp_cluster: fix inventory function
     * FIX: ps: avoid exception, when CPU% is missing (Zombies on Solaris)
     * FIX: win_dhcp_pools: fixed calculation of perc_free
 
diff --git a/checks/netapp_cluster b/checks/netapp_cluster
index e723647..c375c9d 100644
--- a/checks/netapp_cluster
+++ b/checks/netapp_cluster
@@ -53,7 +53,7 @@ def inventory_netapp_cluster(info):
     cfSettings, cfState, cfCannotTakeoverCause, cfPartnerStatus, cfPartnerName, cfInterconnectStatus = info[0]
     if int(cfSettings) not in [1, 3]:
         # Include the cluster partner name in inventory (value added data)
-        inventory.append ([cfPartnerName, None])
+        inventory.append ((cfPartnerName, None))
     return inventory
 
 def check_netapp_cluster(item, _no_params, info):



More information about the checkmk-commits mailing list