mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 14:44:43 +02:00
(plugin) hardware::server::dell::idrac::snmp - add hardware heath name in filter (#3439)
This commit is contained in:
parent
ec8c3ba116
commit
d27a4718ec
@ -68,7 +68,7 @@ sub check {
|
|||||||
next if (!defined($result->{$_}));
|
next if (!defined($result->{$_}));
|
||||||
|
|
||||||
my $name = $chassis_name . ':' . $mapping_health->{$_}->{label};
|
my $name = $chassis_name . ':' . $mapping_health->{$_}->{label};
|
||||||
next if ($self->check_filter(section => 'health', instance => $instance));
|
next if ($self->check_filter(section => 'health', instance => $instance, name => $name));
|
||||||
$self->{components}->{health}->{total}++;
|
$self->{components}->{health}->{total}++;
|
||||||
|
|
||||||
$self->{output}->output_add(
|
$self->{output}->output_add(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user