Module: check_mk
Branch: master
Commit: 1cd6c9df47ad1e9e1d7e0af91e97bfc8117ec0cd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1cd6c9df47ad1e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Feb 12 18:10:10 2012 +0100
FIX: fix inventory of f5_bigip_temp
---
ChangeLog | 1 +
checks/f5_bigip_temp | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8548556..33f32fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,7 @@
on HP-UX.
* if/if64: inventory also picks up type 62 (fastEther). This
is needed on Cisco WLC 21xx series (thanks to Ralf Ertzinger)
+ * FIX: fix inventory of f5_bigip_temp
Multisite:
* Added several missing localization stringsw
diff --git a/checks/f5_bigip_temp b/checks/f5_bigip_temp
index 80e82ce..83fbfcb 100644
--- a/checks/f5_bigip_temp
+++ b/checks/f5_bigip_temp
@@ -59,8 +59,7 @@ def f5_bigip_temp_genitem(info):
def inventory_f5_bigip_temp(info):
inventory = []
for sensor in f5_bigip_temp_genitem(info):
- inventory.append([sensor[0], nom_temp])
-
+ inventory.append((sensor[0], sensor[2]))
return inventory