+ enhance cisco environment sensor filter (break change)
This commit is contained in:
parent
b89cda54f5
commit
0a43cf8657
|
@ -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}) ?
|
||||
|
|
Loading…
Reference in New Issue