forgot to backport this change...

This commit is contained in:
Vincent S. Cojot 2016-02-10 10:24:14 -05:00
parent 517b2d35cd
commit 7f6f9d4f62

View File

@ -680,7 +680,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: