diff --git a/centreon-plugins/apps/protocols/http/mode/collection.pm b/centreon-plugins/apps/protocols/http/mode/collection.pm index 934521366..08de36378 100644 --- a/centreon-plugins/apps/protocols/http/mode/collection.pm +++ b/centreon-plugins/apps/protocols/http/mode/collection.pm @@ -435,6 +435,8 @@ sub parse_structure { $self->{output}->option_exit(); } + $options{conf}->{path} = $self->substitute_string(value => $options{conf}->{path}); + my $jpath = JSON::Path->new($options{conf}->{path}); my @values = $jpath->values($options{content});