Module: check_mk
Branch: master
Commit: 731adc6496e345c63eeca8723f611a19abcca56b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=731adc6496e345…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Sep 21 17:45:59 2012 +0200
Fixed hp_blade_blades check for new firmware 3.6.0
---
checks/hp_blade_blades | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/checks/hp_blade_blades b/checks/hp_blade_blades
index 16aa74a..8f51177 100644
--- a/checks/hp_blade_blades
+++ b/checks/hp_blade_blades
@@ -65,6 +65,7 @@ def check_hp_blade_blades(item, params, info):
# should represent a state but is empty. So set it to "fake" OK
and
# display the other gathered information.
state = line[2] == '' and 2 or line[2]
+ state = saveint(state)
snmp_state = hp_blade_status_map[state]
status = hp_blade_status2nagios_map[snmp_state]