mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 05:35:01 +02:00
parent
f936cb9f9a
commit
c2d8d00944
@ -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…
x
Reference in New Issue
Block a user