Fix false non-optimal status when JBOD disks are present

This commit is contained in:
someone 2018-06-04 14:08:10 -06:00
parent 5514c5067a
commit 55e0999901
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ while controllerid <= controllernumber:
for disk in diskinfo:
# Generic verification no matter is the disk is member of an array or not
if disk[1] not in [ 'Online', 'Hot Spare', 'Ready', 'Global Hot-Spare', 'Dedicated Hot-Spare' ]:
if disk[1] not in [ 'Online', 'Online (JBOD)', 'Hot Spare', 'Ready', 'Global Hot-Spare', 'Dedicated Hot-Spare' ]:
bad = True
nagiosbaddisk += 1
else: