(plugin) apps::protocl::http - mode json-content and collection can use JSONPath embedded perl expressions (#3489)

This commit is contained in:
qgarnier 2022-02-15 17:20:10 +01:00 committed by GitHub
parent 626613609c
commit 675c1a5f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ use Time::HiRes qw(gettimeofday tv_interval);
use JSON::XS;
use XML::LibXML::Simple;
use JSON::Path;
$JSON::Path::Safe = 0;
sub custom_select_threshold {
my ($self, %options) = @_;

View File

@ -29,6 +29,7 @@ use centreon::plugins::http;
use centreon::plugins::misc;
use JSON::Path;
use JSON;
$JSON::Path::Safe = 0;
sub new {
my ($class, %options) = @_;