Module: check_mk
Branch: master
Commit: f0cbfc1b17a079390cdd0eb4b1594945f054ce1f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f0cbfc1b17a079…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Oct 26 23:30:26 2010 +0200
Fixed typo in latest fix for hp_proliant_psu - Thanks again Andreas Döhler
---
checks/hp_proliant_psu | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/hp_proliant_psu b/checks/hp_proliant_psu
index 22d4d79..55c2f71 100644
--- a/checks/hp_proliant_psu
+++ b/checks/hp_proliant_psu
@@ -39,7 +39,7 @@ def inventory_hp_proliant_psu(checkname, info):
def check_hp_proliant_psu(item, params, info):
for line in info:
- if '/' in item and line[0] + line [1] == itemi or line[0] == item:
+ if '/' in item and line[0] + '/' + line [1] == item or line[0] ==
item:
chassis, bay, present, status, redundant = line
snmp_status = hp_proliant_psu_status_map[int(status)]
status = hp_proliant_status2nagios_map[snmp_status]