diff --git a/centreon-plugins/storage/emc/vplex/restapi/custom/apiv1.pm b/centreon-plugins/storage/emc/vplex/restapi/custom/apiv1.pm index c98b68516..80b2a8b89 100644 --- a/centreon-plugins/storage/emc/vplex/restapi/custom/apiv1.pm +++ b/centreon-plugins/storage/emc/vplex/restapi/custom/apiv1.pm @@ -52,7 +52,7 @@ sub new { $options{options}->add_help(package => __PACKAGE__, sections => 'REST API V1 OPTIONS', once => 1); $self->{output} = $options{output}; - $self->{http} = centreon::plugins::http->new(%options); + $self->{http} = centreon::plugins::http->new(%options, default_backend => 'curl'); return $self; } diff --git a/centreon-plugins/storage/emc/vplex/restapi/custom/apiv2.pm b/centreon-plugins/storage/emc/vplex/restapi/custom/apiv2.pm index 47975cf3f..244255ab6 100644 --- a/centreon-plugins/storage/emc/vplex/restapi/custom/apiv2.pm +++ b/centreon-plugins/storage/emc/vplex/restapi/custom/apiv2.pm @@ -55,7 +55,7 @@ sub new { $options{options}->add_help(package => __PACKAGE__, sections => 'REST API V2 OPTIONS', once => 1); $self->{output} = $options{output}; - $self->{http} = centreon::plugins::http->new(%options); + $self->{http} = centreon::plugins::http->new(%options, default_backend => 'curl'); $self->{cache} = centreon::plugins::statefile->new(%options); return $self;