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 d50c30a6f0
commit 9e34038a48

View File

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