mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
Fix #1596
This commit is contained in:
parent
33a8c57a2c
commit
e6ccb8fe97
@ -263,7 +263,7 @@ sub check_memory_enhanced_pool {
|
|||||||
instances => [keys %$physical_array],
|
instances => [keys %$physical_array],
|
||||||
instance_regexp => '^(.*)$'
|
instance_regexp => '^(.*)$'
|
||||||
);
|
);
|
||||||
$snmp_result = $self->{snmp}->get_leef(nothing_quit => 1);
|
$snmp_result = $self->{snmp}->get_leef();
|
||||||
foreach (keys %{$self->{memory}}) {
|
foreach (keys %{$self->{memory}}) {
|
||||||
if (defined($snmp_result->{ $oid_entPhysicalName . '.' . $self->{memory}->{$_}->{physical_index} })) {
|
if (defined($snmp_result->{ $oid_entPhysicalName . '.' . $self->{memory}->{$_}->{physical_index} })) {
|
||||||
$self->{memory}->{$_}->{display} =
|
$self->{memory}->{$_}->{display} =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user