mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-29 16:54:00 +02:00
[aacraid-status]: Add Raw (Pass Through) to valid disk status (Closes: #104)
This commit is contained in:
parent
da4f474012
commit
b2a057b5b9
@ -341,7 +341,7 @@ while controllerid <= controllernumber:
|
|||||||
for disk in diskinfo:
|
for disk in diskinfo:
|
||||||
|
|
||||||
# Generic verification no matter is the disk is member of an array or not
|
# Generic verification no matter is the disk is member of an array or not
|
||||||
if disk[1] not in ["Online", "Online (JBOD)", "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", "Raw (Pass Through)"]:
|
||||||
bad = True
|
bad = True
|
||||||
nagiosbaddisk += 1
|
nagiosbaddisk += 1
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user