Merge branch 'master' of github.com:ElCoyote27/hwraid

This commit is contained in:
Vincent S. Cojot 2016-03-09 08:21:27 -05:00
commit e2735c4466

View File

@ -702,7 +702,7 @@ if totaldrivenumber:
arraydisk = returnDiskInfo(output,controllerid)
for array in arraydisk:
dbgprint('Disk c'+str(controllerid)+'u'+array[0]+'p'+array[1] + ' status : ' + array[5])
if not array[5] == 'Online' and not array[5] == 'Online, Spun Up':
if array[5] not in [ 'Online', 'Online, Spun Up' ]:
bad = True
nagiosbaddisk=nagiosbaddisk+1
else: