This commit is contained in:
qgarnier 2020-11-06 12:11:04 +01:00 committed by GitHub
parent 649937b9a5
commit b69ac6751c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ use strict;
use warnings;
use Time::HiRes qw(gettimeofday tv_interval);
use centreon::plugins::http;
use centreon::plugins::misc;
use JSON::Path;
use JSON;
@ -231,6 +232,7 @@ sub lookup {
foreach my $value (@{$self->{values}}) {
$count++;
if ($value =~ /^[0-9.]+$/) {
$value = centreon::plugins::misc::expand_exponential(value => $value);
if ($self->{option_results}->{threshold_value} eq 'values') {
my $exit = lc(
$self->{perfdata}->threshold_check(