+ Fix mode hardware plugin bluecoat

This commit is contained in:
garnier-quentin 2016-01-05 15:59:31 +01:00
parent daa0cdc7bc
commit 05d370ddbb
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ sub check {
return if ($self->check_filter(section => 'disk'));
foreach my $oid ($self->{snmp}->oid_lex_sort(keys %{$self->{results}->{$oid_deviceDiskValueEntry}})) {
next if ($oid !~ /^$mapping->{deviceSensorStatus}->{oid}\.(.*)$/);
next if ($oid !~ /^$mapping->{deviceDiskStatus}->{oid}\.(.*)$/);
my $instance = $1;
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$oid_deviceDiskValueEntry}, instance => $instance);