1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-09-28 16:33:46 +02:00

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.
This commit is contained in:
Pall Sigurdsson 2014-02-21 10:50:32 +00:00
parent 22e4293db7
commit b96e973e60

View File

@ -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)