From b2a057b5b9fc2f4c676a285e3f0460511e9777a5 Mon Sep 17 00:00:00 2001 From: Adam Cecile Date: Tue, 17 Aug 2021 09:45:10 +0200 Subject: [PATCH] [aacraid-status]: Add Raw (Pass Through) to valid disk status (Closes: #104) --- 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 ba521de..600f93f 100644 --- a/wrapper-scripts/aacraid-status +++ b/wrapper-scripts/aacraid-status @@ -341,7 +341,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", "Online (JBOD)", "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", "Raw (Pass Through)"]: bad = True nagiosbaddisk += 1 else: