From 44f9d9a6c961b4e9b47de96ca76665d8deefd8ff Mon Sep 17 00:00:00 2001 From: Sims24 Date: Mon, 23 May 2016 14:55:25 +0200 Subject: [PATCH] + fix typo threshold --- storage/hp/msl/snmp/mode/status.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/hp/msl/snmp/mode/status.pm b/storage/hp/msl/snmp/mode/status.pm index d33d487d7..d1a15ca6b 100644 --- a/storage/hp/msl/snmp/mode/status.pm +++ b/storage/hp/msl/snmp/mode/status.pm @@ -68,12 +68,12 @@ sub check_options { $self->{overload_th} = {}; foreach my $val (@{$self->{option_results}->{threshold_overload}}) { if ($val !~ /^(.*?),(.*?),(.*)$/) { - $self->{output}->add_option_msg(short_msg => "Wrong treshold-overload option '" . $val . "'."); + $self->{output}->add_option_msg(short_msg => "Wrong threshold-overload option '" . $val . "'."); $self->{output}->option_exit(); } my ($section, $status, $filter) = ($1, $2, $3); if ($self->{output}->is_litteral_status(status => $status) == 0) { - $self->{output}->add_option_msg(short_msg => "Wrong treshold-overload status '" . $val . "'."); + $self->{output}->add_option_msg(short_msg => "Wrong threshold-overload status '" . $val . "'."); $self->{output}->option_exit(); } $self->{overload_th}->{$section} = [] if (!defined($self->{overload_th}->{$section}));