Module: check_mk
Branch: master
Commit: 1735dd1cfe68d903b4d380c7a8363d7d1d1dc4c2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1735dd1cfe68d9…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 5 17:45:35 2013 +0100
FIX: f5_bigip_psu: fix inventory function (returned list instead of tuple)
---
ChangeLog | 1 +
checks/f5_bigip_psu | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9a5c812..baa3ef5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -86,6 +86,7 @@
* FIX: check_ldap: added missing version option -2, -3, -3 -T (TLS)
* FIX: mssql: Agent plugin now supports MSSQL Server 2012
* FIX: hr_mem: fix max value in performance data (thanks to Michaël COQUARD)
+ * FIX: f5_bigip_psu: fix inventory function (returned list instead of tuple)
* Linux agent: limit netstat to 10 seconds
* ps: Allow %1, %2, .. instead of %s in process_inventory. That allows
reordering of matched groups
diff --git a/checks/f5_bigip_psu b/checks/f5_bigip_psu
index 4218cf0..2304945 100644
--- a/checks/f5_bigip_psu
+++ b/checks/f5_bigip_psu
@@ -46,7 +46,7 @@ def inventory_f5_bigip_psu(info):
psu, state = line[0]
# inventorize the PSU unless it's in state 2 (notpresent)
if state != "2":
- inventory.append([("%s" % psu), None])
+ inventory.append(psu, None)
return inventory