mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-29 00:34: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:
|
||||
|
||||
# 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
|
||||
nagiosbaddisk += 1
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user