From d27a4718ec6be0018331120d78d390b6b37c8a37 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Fri, 28 Jan 2022 14:50:57 +0100 Subject: [PATCH] (plugin) hardware::server::dell::idrac::snmp - add hardware heath name in filter (#3439) --- .../hardware/server/dell/idrac/snmp/mode/components/health.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/hardware/server/dell/idrac/snmp/mode/components/health.pm b/centreon-plugins/hardware/server/dell/idrac/snmp/mode/components/health.pm index 9f4612c96..29ff6f4a0 100644 --- a/centreon-plugins/hardware/server/dell/idrac/snmp/mode/components/health.pm +++ b/centreon-plugins/hardware/server/dell/idrac/snmp/mode/components/health.pm @@ -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(