Module: check_mk
Branch: master
Commit: c15b3d4f79a7a949c37b8e1343347489e9fad3a9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c15b3d4f79a7a9…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Mon Feb 1 16:38:50 2016 +0100
websphere_mq_channels: fixed usage of fallback
---
checks/websphere_mq_channels | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/websphere_mq_channels b/checks/websphere_mq_channels
index 7002599..2e3081d 100644
--- a/checks/websphere_mq_channels
+++ b/checks/websphere_mq_channels
@@ -67,7 +67,7 @@ def check_websphere_mq_channels(item, params, info):
yield (state, "%d/%d Messages" % (messages, max_messages),
[ ('messages', messages, warn, crit, 0, max_messages) ])
- state = params['status'].get(status, 2)
+ state = params['status'].get(status,
params['status'].get('other', 2))
yield state, "Channel State: %s" % status, []