mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-27 07:44:01 +02:00
Handle Dedicated Hot-Spare status
This commit is contained in:
parent
8438855332
commit
1d05376d98
@ -311,7 +311,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] != 'Online' and disk[1] != 'Hot Spare' and disk[1] != 'Ready' and disk[1] != 'Global Hot-Spare':
|
if disk[1] not in [ 'Online', 'Hot Spare', 'Ready', 'Global Hot-Spare', 'Dedicated Hot-Spare' ]:
|
||||||
bad = True
|
bad = True
|
||||||
nagiosbaddisk += 1
|
nagiosbaddisk += 1
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user