Module: check_mk
Branch: master
Commit: c8ae6c075daf77c30afb98f81ae205a86822fa32
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c8ae6c075daf77…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Mar 7 17:10:49 2013 +0100
FIX: f5_bigip_psu - fixed inventory function
---
ChangeLog | 1 +
checks/f5_bigip_psu | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bd4af74..d2d2013 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -91,6 +91,7 @@
* Linux agent: limit netstat to 10 seconds
* ps: Allow %1, %2, .. instead of %s in process_inventory. That allows
reordering of matched groups
+ * FIX: f5_bigip_psu - fixed inventory function
Multisite:
* FIX: Fixed problem with error during localization scanning
diff --git a/checks/f5_bigip_psu b/checks/f5_bigip_psu
index 80b8083..419ab8e 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(psu, None)
+ inventory.append((psu, None))
return inventory