Module: check_mk
Branch: master
Commit: 945acb7bc8d09d4423104ff0c73b85a0d2ea77b6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=945acb7bc8d09d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 20 10:59:52 2013 +0200
FIX: blade_blades: Fixed output of "(UNKNOWN)" even if state is OK
---
ChangeLog | 1 +
checks/blade_blades | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 6eb07ad..4262106 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -88,6 +88,7 @@
* windows_agent: windows eventlog informational/audit logs now reported with O
prefix
* mk_logwatch: ignored loglines now reported with an "." prefix (if
required)
* apache_status: Nopw also supports multithreaded mpm
+ * FIX: blade_blades: Fixed output of "(UNKNOWN)" even if state is OK
* FIX: apache_status: fix exception if parameter is None
* FIX: hr_mem: handle virtual memory correct on some devices
* FIX: apache_status agent plugin: now also works, if prog name contains slashes
diff --git a/checks/blade_blades b/checks/blade_blades
index 55b6051..1313bb4 100644
--- a/checks/blade_blades
+++ b/checks/blade_blades
@@ -58,7 +58,7 @@ def check_blade_blades(item, params, info):
output += ' (!)'
elif nag_state == 2:
output += ' (!!)'
- else:
+ elif nag_state == 3:
output += ' (UNKNOWN)'
state = max(state, nag_state)
output += ', '