From 374e4faccf376ee35cac2326993e3f6fb8887be6 Mon Sep 17 00:00:00 2001 From: moix Date: Wed, 6 Jun 2018 17:42:18 +0200 Subject: [PATCH] Cannot find physical memory informations fix #994 (#1000) --- os/windows/snmp/mode/memory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/windows/snmp/mode/memory.pm b/os/windows/snmp/mode/memory.pm index a758c8adf..0e0e6f5e0 100644 --- a/os/windows/snmp/mode/memory.pm +++ b/os/windows/snmp/mode/memory.pm @@ -145,7 +145,7 @@ sub manage_selection { foreach my $key (keys %$result) { next if ($key !~ /\.([0-9]+)$/); my $oid = $1; - if ($result->{$key} =~ /^Physical memory$/i) { + if ($result->{$key} =~ /^Physical (memory|RAM)$/i) { $self->{physical_memory_id} = $oid; } }