From 4771c10510e42b3f3edab41384fcde20760f9cdf Mon Sep 17 00:00:00 2001 From: qgarnier Date: Wed, 21 Sep 2022 16:50:29 +0200 Subject: [PATCH] (plugin) hardware::server::hp::ilo::xmlapi - add decode option working (#3911) --- centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm b/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm index 78771c2db..8390fd6e6 100644 --- a/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm +++ b/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm @@ -318,6 +318,7 @@ sub get_ilo_data { $self->get_ilo2_data(); } + $self->{content} = $self->{output}->decode($self->{content}); $self->{content} =~ s/\r//sg; $self->{output}->output_add(long_msg => $self->{content}, debug => 1);