ref #647
This commit is contained in:
parent
9aa281a26d
commit
e9a2339040
|
@ -89,9 +89,9 @@ sub check {
|
|||
my ($phys_index, $loc_index) = ($1, $2);
|
||||
my $status = $self->{results}->{$oids{alaChasEntPhysFanStatus}}->{$key};
|
||||
my $descr = defined($self->{results}->{entity}->{$oids{entPhysicalDescr} . '.' . $phys_index}) ?
|
||||
$self->{results}->{$oids{entPhysicalDescr}}->{$oids{entPhysicalDescr} . '.' . $phys_index} : 'unknown';
|
||||
$self->{results}->{entity}->{$oids{entPhysicalDescr} . '.' . $phys_index} : 'unknown';
|
||||
my $name = defined($self->{results}->{entity}->{$oids{entPhysicalName} . '.' . $phys_index}) ?
|
||||
$self->{results}->{$oids{entPhysicalName}}->{$oids{entPhysicalName} . '.' . $phys_index} : 'unknown';
|
||||
$self->{results}->{entity}->{$oids{entPhysicalName} . '.' . $phys_index} : 'unknown';
|
||||
|
||||
next if ($self->check_filter(section => 'fan', instance => $phys_index . '.' . $loc_index));
|
||||
$self->{components}->{fan}->{total}++;
|
||||
|
@ -110,4 +110,4 @@ sub check {
|
|||
}
|
||||
}
|
||||
|
||||
1;
|
||||
1;
|
||||
|
|
Loading…
Reference in New Issue