From f37c37c348feecce97f7e4678e7bc928db531c8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20C=C3=A9cile=20=28Le=5FVert=29?= Date: Sat, 25 Jan 2014 23:38:12 +0100 Subject: [PATCH] 3ware-status: veryfing status (array) is not an error --- wrapper-scripts/3ware-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapper-scripts/3ware-status b/wrapper-scripts/3ware-status index 64503f5..3f00ba9 100755 --- a/wrapper-scripts/3ware-status +++ b/wrapper-scripts/3ware-status @@ -109,7 +109,7 @@ for controller in controllerlist: id = controller+array[0] size = array[6].split('.')[0]+'G' status = array[2] - if not status == 'OK': + if not status in ['OK','VERIFYING']: bad = True nagiosbadarray=nagiosbadarray+1 else: