Module: check_mk
Branch: master
Commit: 20a5070de7012e531fb4ec4d9df832054e013ff9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=20a5070de7012e…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Nov 14 21:27:09 2012 +0100
hp_prolaint: Changes classification of unkown state to ok
---
checks/hp_proliant | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/hp_proliant b/checks/hp_proliant
index 9e7b7ea..aabc3df 100644
--- a/checks/hp_proliant
+++ b/checks/hp_proliant
@@ -31,8 +31,8 @@
# '.1.3.6.1.4.1.232.11.2.14.1.1.5.0' => cpqHoFwVerVersion
# '.1.3.6.1.4.1.232.11.1.3.0' => cpqHoMibCondition
-hp_proliant_generel_status_map = { 1: 'Other', 2: 'Ok', 3:
'Degraded', 4: 'Failed' }
-hp_proliant_generel_status2nagios_map = { 'Other': 2, 'Ok': 0,
'Degraded': 1, 'Failed': 2, }
+hp_proliant_generel_status_map = { 1: 'Unknown', 2: 'Ok',
3: 'Degraded', 4: 'Failed' }
+hp_proliant_generel_status2nagios_map = { 'Unknown': 0, 'Ok':
0, 'Degraded': 1, 'Failed': 2, }
def inventory_proliant_general(info):
if len(info) > 0 and len(info[0]) > 1: