parent
818b0e8a7d
commit
495e0c915f
|
@ -44,6 +44,8 @@ sub check {
|
|||
# </NIC>
|
||||
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;
|
||||
1;
|
||||
|
|
Loading…
Reference in New Issue