diff --git a/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/cpu.pm b/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/cpu.pm index eecb03e0d..5ca6b78d5 100644 --- a/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/cpu.pm +++ b/centreon-plugins/hardware/server/hp/ilo/xmlapi/mode/components/cpu.pm @@ -33,6 +33,8 @@ sub check { return if ($self->check_filter(section => 'cpu')); return if (!defined($self->{xml_result}->{GET_EMBEDDED_HEALTH_DATA}->{PROCESSORS}->{PROCESSOR})); + # STATUS can be missing + # # # # foreach my $result (@{$self->{xml_result}->{GET_EMBEDDED_HEALTH_DATA}->{PROCESSORS}->{PROCESSOR}}) { + next if (!defined($result->{STATUS})); my $instance = $result->{LABEL}->{VALUE}; next if ($self->check_filter(section => 'cpu', instance => $instance));