diff options
Diffstat (limited to 'nagios-check-raid-3ware')
-rwxr-xr-x | nagios-check-raid-3ware | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nagios-check-raid-3ware b/nagios-check-raid-3ware index 9a4e60f..8f87e4e 100755 --- a/nagios-check-raid-3ware +++ b/nagios-check-raid-3ware @@ -93,14 +93,14 @@ for my $line (@tw) { $msg .= ($msg eq '' ? '' : '; '). "$device: $status"; $exit = $exit > $CRITICAL ? $exit : $CRITICAL; } else { - $msg .= ($msg eq '' ? '' : '; '). "$device: UKNOWN STATUS '$status'"; + $msg .= ($msg eq '' ? '' : '; '). "$device: UNKNOWN STATUS '$status'"; $exit = $exit > $UNKNOWN ? $exit : $UNKNOWN; }; }; if ($msg eq '') { $msg = "No devices found"; - die ("exit is not UKNOWN but $exit") if ($exit != $UNKNOWN); + die ("exit is not UNKNOWN but $exit") if ($exit != $UNKNOWN); } print $msg,"\n"; |