lib/arborist/monitor/snmp.rb
changeset 7 4548e58c8c66
parent 4 e6eb11b1e00d
child 8 e0b7c95a154f
--- a/lib/arborist/monitor/snmp.rb	Wed Sep 07 15:25:50 2016 -0700
+++ b/lib/arborist/monitor/snmp.rb	Wed Aug 30 13:55:02 2017 -0700
@@ -23,7 +23,7 @@
 	log_to :arborist
 
 	# The version of this library.
-	VERSION = '0.3.0'
+	VERSION = '0.3.1'
 
 	# Global defaults for instances of this monitor
 	#
@@ -34,6 +34,14 @@
 		port:      161
 	}
 
+	# Always request the node addresses and any config.
+	USED_PROPERTIES = [ :addresses, :config ].freeze
+
+	### Return the properties used by this monitor.
+	def self::node_properties
+		return USED_PROPERTIES
+	end
+
 
 	### Connect to the SNMP daemon and yield.
 	###