+ fix typo threshold (sub)
This commit is contained in:
parent
ea60975de8
commit
eb9cc7081a
|
@ -50,7 +50,7 @@ sub new {
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub check_treshold_overload {
|
sub check_threshold_overload {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
$self->{overload_th} = {};
|
$self->{overload_th} = {};
|
||||||
|
@ -72,7 +72,7 @@ sub check_treshold_overload {
|
||||||
sub check_options {
|
sub check_options {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
$self->SUPER::init(%options);
|
$self->SUPER::init(%options);
|
||||||
$self->check_treshold_overload();
|
$self->check_threshold_overload();
|
||||||
}
|
}
|
||||||
|
|
||||||
sub get_severity {
|
sub get_severity {
|
||||||
|
@ -168,4 +168,4 @@ Example: --threshold-overload='peer,critical,active' --threshold-overload='curre
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
Loading…
Reference in New Issue