mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-23 22:04:23 +02:00
forgot to backport this change...
This commit is contained in:
parent
517b2d35cd
commit
7f6f9d4f62
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user