mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 22:55:17 +01:00
check_emc_clariion, more ugly hacks, write from scratch very very soon
This commit is contained in:
@@ -176,7 +176,7 @@ sub check_sp {
|
||||
# check for Enclosure lines
|
||||
if( $_ =~ m/Enclosure\s(\d+|\w+)\s(\w+)\s$opt_sp\d?\s\w+:\s+(.*)/) {
|
||||
my $check = $2;
|
||||
if ($3 =~ m/Present|Valid|N\/A|255.255/) {
|
||||
if ($3 =~ m/Removed|\d+.\d+|Present|Valid|N\/A|255.255/) {
|
||||
$output .= "$check ok,";
|
||||
} else {
|
||||
$output .= "$check failed,";
|
||||
|
||||
Reference in New Issue
Block a user