mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-02-24 12:48:42 +01:00
Added new Optimal status for controller
This commit is contained in:
@@ -167,7 +167,7 @@ sub getControllerStatus {
|
||||
if($first eq "Controller") {
|
||||
if($line =~ /\s+([a-zA-Z0-9]*)/) {
|
||||
if($1 eq "Status") {
|
||||
if($last ne "OK") {
|
||||
if($last ne "OK" && $last ne "Optimal") {
|
||||
$status = getExitState($status, STATE_WARNING);
|
||||
$statusMessage .= "Ctrl. status not optimal, ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user