(plugin) apps::protocl::http - mode json-content and collection can use JSONPath embedded perl expressions (#3489)
This commit is contained in:
parent
626613609c
commit
675c1a5f7b
|
@ -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) = @_;
|
||||
|
|
|
@ -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) = @_;
|
||||
|
|
Loading…
Reference in New Issue