From 1d05376d982fdc9905dc48387bb3cd9d6ae0f935 Mon Sep 17 00:00:00 2001 From: Adam Cecile Date: Sat, 10 Dec 2016 10:01:26 +0100 Subject: [PATCH] Handle Dedicated Hot-Spare status --- 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 7b88ce0..6ee9443 100644 --- a/wrapper-scripts/aacraid-status +++ b/wrapper-scripts/aacraid-status @@ -311,7 +311,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] != 'Online' and disk[1] != 'Hot Spare' and disk[1] != 'Ready' and disk[1] != 'Global Hot-Spare': + if disk[1] not in [ 'Online', 'Hot Spare', 'Ready', 'Global Hot-Spare', 'Dedicated Hot-Spare' ]: bad = True nagiosbaddisk += 1 else: