This commit is contained in:
garnier-quentin 2015-12-21 10:35:51 +01:00
parent b5aac85019
commit d9cf33e55e
1 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,8 @@ sub check {
next if ($oid !~ /^$mapping->{entSensorStatus}->{oid}\.(.*)$/);
my $instance = $1;
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$oid_entSensorValueEntry}, instance => $instance);
next if (!defined($self->{results}->{$oid_entPhysicalDescr}->{$oid_entPhysicalDescr . '.' . $instance}));
my $sensor_descr = $self->{results}->{$oid_entPhysicalDescr}->{$oid_entPhysicalDescr . '.' . $instance};
next if ($self->check_exclude(section => 'sensor', instance => $instance));