mirror of https://github.com/eLvErDe/hwraid.git
Fix false non-optimal status when JBOD disks are present
This commit is contained in:
parent
5514c5067a
commit
55e0999901
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue