+ enhancement of status for emc clariion
This commit is contained in:
parent
fa1f1533a2
commit
28620d51eb
|
@ -172,6 +172,7 @@ my @states = (
|
|||
['^empty$' , 'OK'],
|
||||
['^hot spare ready$' , 'OK'],
|
||||
['^powering up$' , 'OK'],
|
||||
['^requested bypass$', 'WARNING'],
|
||||
['^equalizing$' , 'WARNING'],
|
||||
['^formatting$' , 'WARNING'],
|
||||
['^removed$' , 'WARNING'],
|
||||
|
|
|
@ -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;
|
||||
1;
|
||||
|
|
Loading…
Reference in New Issue