enh windows snmp swap, physical memory name (#1073)

This commit is contained in:
Colin Gagnaire 2018-07-23 10:37:49 +02:00 committed by GitHub
parent 2b84c2aef4
commit c9e402be68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ sub run {
if ($result->{$key} =~ /^Virtual memory$/i) { if ($result->{$key} =~ /^Virtual memory$/i) {
$self->{swap_memory_id} = $oid; $self->{swap_memory_id} = $oid;
} }
if ($result->{$key} =~ /^Physical memory$/i) { if ($result->{$key} =~ /^Physical (memory|RAM)$/i) {
$self->{physical_memory_id} = $oid; $self->{physical_memory_id} = $oid;
} }
} }