This commit is contained in:
garnier-quentin 2020-05-14 16:16:40 +02:00 committed by Lotfi zaouche
parent 1218692842
commit 80d9e8e35f
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ sub threshold_check {
if (defined($self->{threshold_use})) { if (defined($self->{threshold_use})) {
$value = $self->{result_values}->{ $self->{threshold_use} }; $value = $self->{result_values}->{ $self->{threshold_use} };
} else { } else {
$value = defined($self->{key_values}->[0]) ? $self->{key_values}->[0]->{name} : ''; $value = defined($self->{key_values}->[0]) ? $self->{result_values}->{ $self->{key_values}->[0]->{name} } : '';
} }
return $self->{perfdata}->threshold_check( return $self->{perfdata}->threshold_check(