1
0
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:
Páll Guðjón Sigurðsson
2010-03-03 23:03:03 +00:00
parent e3ec1428d5
commit cf59bc2b10
2 changed files with 1 additions and 780 deletions

View File

@@ -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,";