+ fix typo threshold (sub)

This commit is contained in:
Sims24 2016-05-23 14:50:22 +02:00
parent ea60975de8
commit eb9cc7081a
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ sub new {
return $self;
}
sub check_treshold_overload {
sub check_threshold_overload {
my ($self, %options) = @_;
$self->{overload_th} = {};
@ -72,7 +72,7 @@ sub check_treshold_overload {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->check_treshold_overload();
$self->check_threshold_overload();
}
sub get_severity {
@ -168,4 +168,4 @@ Example: --threshold-overload='peer,critical,active' --threshold-overload='curre
=back
=cut
=cut