Merge pull request #1303 from garnier-quentin/enhance-cisco-sensor-filter

+ enhance cisco environment sensor filter (break change)
This commit is contained in:
qgarnier 2019-01-01 17:01:34 +01:00 committed by GitHub
commit 982923c5cf
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}) ?