lib/arborist/monitor/snmp/memory.rb
changeset 26 54f2f57cc0b0
parent 14 d5cb8bd33170
--- a/lib/arborist/monitor/snmp/memory.rb	Sun Sep 01 13:28:18 2019 -0700
+++ b/lib/arborist/monitor/snmp/memory.rb	Tue Apr 28 10:10:19 2020 -0700
@@ -84,7 +84,7 @@
 	def gather_memory( host, snmp )
 		info = self.system =~ /windows\s+/i ? self.get_windows( snmp ) : self.get_mem( snmp )
 
-		config           = identifiers[ host ].last || {}
+		config           = self.identifiers[ host ].last['config'] || {}
 		physical_warn_at = config[ 'physical_warn_at' ] || self.class.physical_warn_at
 		swap_warn_at     = config[ 'swap_warn_at' ] || self.class.swap_warn_at