+ enhance cisco environment sensor filter (break change)
This commit is contained in:
parent
51c16b4419
commit
7ce22dc341
|
@ -188,7 +188,7 @@ sub check {
|
||||||
next if (!defined($self->{results}->{$oid_entPhysicalDescr}->{$oid_entPhysicalDescr . '.' . $instance}));
|
next if (!defined($self->{results}->{$oid_entPhysicalDescr}->{$oid_entPhysicalDescr . '.' . $instance}));
|
||||||
my $sensor_descr = $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}++;
|
$self->{components}->{sensor}->{total}++;
|
||||||
|
|
||||||
$result->{entSensorValue} = defined($result->{entSensorValue}) ?
|
$result->{entSensorValue} = defined($result->{entSensorValue}) ?
|
||||||
|
|
Loading…
Reference in New Issue