From 55e09999015f860d6f6edd6b9b54c7c52fb881fd Mon Sep 17 00:00:00 2001 From: someone Date: Mon, 4 Jun 2018 14:08:10 -0600 Subject: [PATCH] Fix false non-optimal status when JBOD disks are present --- wrapper-scripts/aacraid-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapper-scripts/aacraid-status b/wrapper-scripts/aacraid-status index e61f2b9..06694da 100644 --- a/wrapper-scripts/aacraid-status +++ b/wrapper-scripts/aacraid-status @@ -314,7 +314,7 @@ while controllerid <= controllernumber: for disk in diskinfo: # Generic verification no matter is the disk is member of an array or not - if disk[1] not in [ 'Online', 'Hot Spare', 'Ready', 'Global Hot-Spare', 'Dedicated Hot-Spare' ]: + if disk[1] not in [ 'Online', 'Online (JBOD)', 'Hot Spare', 'Ready', 'Global Hot-Spare', 'Dedicated Hot-Spare' ]: bad = True nagiosbaddisk += 1 else: