mirror of https://github.com/eLvErDe/hwraid.git
Also whitelist Hotspare, Spun down
This commit is contained in:
parent
ecdacddc99
commit
1d5d25c5d3
|
@ -765,7 +765,7 @@ if totalunconfdrivenumber:
|
|||
arraydisk = returnUnconfDiskInfo(output,controllerid)
|
||||
for array in arraydisk:
|
||||
dbgprint('Disk c'+str(controllerid)+'uXpY status : ' + array[3])
|
||||
if array[3] not in [ 'Online', 'Unconfigured(good), Spun Up', 'JBOD','Hotspare, Spun Up' ]:
|
||||
if array[3] not in [ 'Online', 'Unconfigured(good), Spun Up', 'JBOD','Hotspare, Spun Up','Hotspare, Spun down' ]:
|
||||
bad = True
|
||||
nagiosbaddisk=nagiosbaddisk+1
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue