Handle Dedicated Hot-Spare status

This commit is contained in:
Adam Cecile 2016-12-10 10:01:26 +01:00
parent 8438855332
commit 1d05376d98
1 changed files with 1 additions and 1 deletions

View File

@ -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: