From 28620d51eb681dcf87c7a35b7d13af8842277b18 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 18 May 2015 10:55:17 +0200 Subject: [PATCH] + enhancement of status for emc clariion --- centreon/common/emc/navisphere/mode/disk.pm | 1 + centreon/common/emc/navisphere/mode/spcomponents/battery.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/centreon/common/emc/navisphere/mode/disk.pm b/centreon/common/emc/navisphere/mode/disk.pm index c66d10896..0bef7ce23 100644 --- a/centreon/common/emc/navisphere/mode/disk.pm +++ b/centreon/common/emc/navisphere/mode/disk.pm @@ -172,6 +172,7 @@ my @states = ( ['^empty$' , 'OK'], ['^hot spare ready$' , 'OK'], ['^powering up$' , 'OK'], + ['^requested bypass$', 'WARNING'], ['^equalizing$' , 'WARNING'], ['^formatting$' , 'WARNING'], ['^removed$' , 'WARNING'], diff --git a/centreon/common/emc/navisphere/mode/spcomponents/battery.pm b/centreon/common/emc/navisphere/mode/spcomponents/battery.pm index 570a7aa42..4120da4f6 100644 --- a/centreon/common/emc/navisphere/mode/spcomponents/battery.pm +++ b/centreon/common/emc/navisphere/mode/spcomponents/battery.pm @@ -39,7 +39,7 @@ use strict; use warnings; my @conditions = ( - ['^(Not Ready|Testing)$' => 'WARNING'], + ['^(Not Ready|Testing|Unknown)$' => 'WARNING'], ['^(?!(Present|Valid)$)' => 'CRITICAL'], ); @@ -76,4 +76,4 @@ sub check { } } -1; \ No newline at end of file +1;