Module: check_mk
Branch: master
Commit: f98b55d493fd26d1477797b65f0744f3ea0fe209
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f98b55d493fd26…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 27 11:11:54 2010 +0200
Fixed small coding error in megaraid_pdisks
---
checks/megaraid_pdisks | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/checks/megaraid_pdisks b/checks/megaraid_pdisks
index 6714f28..9ac8dd0 100644
--- a/checks/megaraid_pdisks
+++ b/checks/megaraid_pdisks
@@ -65,6 +65,7 @@ def check_megaraid_pdisks(item, target_state, info):
# item is "$ENCLOSURE/$SLOT"
# param is the target state
dev2enc = {}
+ found = None
for line in info:
if line[0] == "dev2enc":
dev2enc[line[5]] = 'e'+line[2]