From b96e973e60d587ed5c95bb301c429a322307b5e5 Mon Sep 17 00:00:00 2001 From: Pall Sigurdsson Date: Fri, 21 Feb 2014 10:50:32 +0000 Subject: [PATCH] Fix workaround for firmware bug Blade chassis will sometimes report critical error that there are no critical or warning events. Fix plugin so it properly works around the issue. --- check_ibm_bladecenter/check_ibm_bladecenter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_ibm_bladecenter/check_ibm_bladecenter.py b/check_ibm_bladecenter/check_ibm_bladecenter.py index b1559a5..4875df3 100644 --- a/check_ibm_bladecenter/check_ibm_bladecenter.py +++ b/check_ibm_bladecenter/check_ibm_bladecenter.py @@ -466,7 +466,7 @@ def check_systemhealth(): summary = getTable('1.3.6.1.4.1.2.3.51.2.2.7.2.1') index,severity,description,date = (1,2,3,4) # Sometimes chassis delivers warning when absolutely nothing is going on. Lets work around that - workaround = [{1: '1', 2: 'Good', 3: 'No critical or warning events', 4: 'No timestamp'}] + workaround = {1: '1', 2: 'Good', 3: 'No critical or warning events', 4: 'No timestamp'} # Check overall health if systemhealthstat == '255': nagios_status(ok)