(plugin) hardware::server::dell::idrac::snmp - add hardware heath name in filter (#3439)

This commit is contained in:
qgarnier 2022-01-28 14:50:57 +01:00 committed by GitHub
parent ec8c3ba116
commit d27a4718ec
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ sub check {
next if (!defined($result->{$_}));
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->{output}->output_add(