mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-23 13:54:23 +02:00
Merge pull request #91 from random-things/master
[aacraid-status] Fix false non-optimal status when JBOD disks are present
This commit is contained in:
commit
3610acca6c
@ -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…
x
Reference in New Issue
Block a user