+ enhance cisco environment sensor filter (break change)

This commit is contained in:
garnier-quentin 2019-01-01 17:01:05 +01:00
parent b89cda54f5
commit 0a43cf8657
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ sub check {
next if (!defined($self->{results}->{$oid_entPhysicalDescr}->{$oid_entPhysicalDescr . '.' . $instance}));
my $sensor_descr = $self->{results}->{$oid_entPhysicalDescr}->{$oid_entPhysicalDescr . '.' . $instance};
next if ($self->check_filter(section => 'sensor', instance => $instance));
next if ($self->check_filter(section => 'sensor', instance => $result->{entSensorType} . '.' . $instance));
$self->{components}->{sensor}->{total}++;
$result->{entSensorValue} = defined($result->{entSensorValue}) ?