Fix #1480
This commit is contained in:
parent
884c16ee95
commit
f0a3790cad
|
@ -139,6 +139,8 @@ my $oid_ciscoMemoryPoolEntry = '.1.3.6.1.4.1.9.9.48.1.1.1';
|
|||
sub check_memory_pool {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
return if ($self->{checked_memory} == 1);
|
||||
|
||||
my $snmp_result = $self->{snmp}->get_table(
|
||||
oid => $oid_ciscoMemoryPoolEntry,
|
||||
start => $mapping_memory_pool->{ciscoMemoryPoolName}->{oid}, end => $mapping_memory_pool->{ciscoMemoryPoolFree}->{oid}
|
||||
|
@ -254,9 +256,9 @@ sub manage_selection {
|
|||
$self->{checked_memory} = 0;
|
||||
$self->{memory} = {};
|
||||
|
||||
$self->check_memory_enhanced_pool();
|
||||
$self->check_memory_pool();
|
||||
$self->check_memory_system_ext();
|
||||
$self->check_memory_enhanced_pool();
|
||||
|
||||
if ($self->{checked_memory} == 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "Cannot find memory informations");
|
||||
|
|
Loading…
Reference in New Issue