diff --git a/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/nic.pm b/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/nic.pm index 58fc337b9..684d6c788 100644 --- a/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/nic.pm +++ b/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/nic.pm @@ -44,6 +44,8 @@ sub check { # foreach my $result (@{$self->{xml_result}->{GET_EMBEDDED_HEALTH_DATA}->{NIC_INFORMATION}->{NIC}}) { my $instance = $result->{NETWORK_PORT}->{VALUE}; + $instance = $result->{PORT_DESCRIPTION}->{VALUE} . '.' . $instance + if (defined($result->{PORT_DESCRIPTION}->{VALUE})); next if ($self->check_filter(section => 'nic', instance => $instance)); next if ($result->{STATUS}->{VALUE} =~ /not installed|n\/a|not present|not applicable/i && @@ -62,4 +64,4 @@ sub check { } } -1; \ No newline at end of file +1;