mirror of https://github.com/eLvErDe/hwraid.git
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:
|
||||
|
||||
# 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
|
||||
nagiosbaddisk += 1
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue