mirror of https://github.com/eLvErDe/hwraid.git
[megaclisas-status] Unconfigured+Good+Spun+Down should not be considered a bad disk either..
This commit is contained in:
parent
d2bf380ca5
commit
1a567e2812
|
@ -792,7 +792,7 @@ if totalunconfdrivenumber:
|
||||||
arraydisk = returnUnconfDiskInfo(output,controllerid)
|
arraydisk = returnUnconfDiskInfo(output,controllerid)
|
||||||
for array in arraydisk:
|
for array in arraydisk:
|
||||||
dbgprint('Disk c'+str(controllerid)+'uXpY status : ' + array[3])
|
dbgprint('Disk c'+str(controllerid)+'uXpY status : ' + array[3])
|
||||||
if array[3] not in [ 'Online', 'Unconfigured(good), Spun Up', 'JBOD','Hotspare, Spun Up','Hotspare, Spun down' ]:
|
if array[3] not in [ 'Online', 'Unconfigured(good), Spun Up', 'Unconfigured(good), Spun down', 'JBOD','Hotspare, Spun Up','Hotspare, Spun down' ]:
|
||||||
bad = True
|
bad = True
|
||||||
nagiosbaddisk=nagiosbaddisk+1
|
nagiosbaddisk=nagiosbaddisk+1
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue