Module: check_mk
Branch: master
Commit: 1c01952ba8b6098ab754501f175559a8c6cbc00a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1c01952ba8b609…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Fri Aug 31 11:56:34 2018 +0200
6408 FIX blade_health: The state "degraded (non critical)" is now treated as
WARN instead of CRIT
Change-Id: Ic470a3f470f059272b6d7a6dcc3d1baacd3956f5
---
.werks/6408 | 11 +++++++++++
checks/blade_health | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/6408 b/.werks/6408
new file mode 100644
index 0000000..223f501
--- /dev/null
+++ b/.werks/6408
@@ -0,0 +1,11 @@
+Title: blade_health: The state "degraded (non critical)" is now treated as WARN
instead of CRIT
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1535709342
+
+
diff --git a/checks/blade_health b/checks/blade_health
index 4705959..e752806 100644
--- a/checks/blade_health
+++ b/checks/blade_health
@@ -43,7 +43,7 @@ def check_blade_health(_no_item, _no_params, info):
if state == "255":
return (0, "State is good")
elif state == "2":
- return (2, "State is degraded (non critical)" + descr)
+ return (1, "State is degraded (non critical)" + descr)
elif state == "4":
return (1, "State is degraded (system level)" + descr)
elif state == "0":