From c1220466d964d1b646d136d7ec75ce1e6c5b94ac Mon Sep 17 00:00:00 2001 From: Sims24 Date: Mon, 23 May 2016 14:37:45 +0200 Subject: [PATCH] + fix typo threshold --- hardware/server/hp/bladechassis/snmp/mode/hardware.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hardware/server/hp/bladechassis/snmp/mode/hardware.pm b/hardware/server/hp/bladechassis/snmp/mode/hardware.pm index c0d709e3d..49fde1f80 100644 --- a/hardware/server/hp/bladechassis/snmp/mode/hardware.pm +++ b/hardware/server/hp/bladechassis/snmp/mode/hardware.pm @@ -104,12 +104,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})); @@ -283,4 +283,4 @@ Example: --threshold-overload='temperature,OK,other' =back =cut - \ No newline at end of file +