spec/data/monitors/pings.rb in arborist-0.0.1.pre20160106113421 vs spec/data/monitors/pings.rb in arborist-0.0.1.pre20160128152542
- old
+ new
@@ -12,9 +12,10 @@
log_to :arborist
attr_accessor :identifiers
def exec_arguments( nodes )
+ self.log.debug "Building fping arguments for %d nodes" % [ nodes.size ]
self.identifiers = nodes.each_with_object({}) do |(identifier, props), hash|
next unless props.key?( 'addresses' )
address = props[ 'addresses' ].first
hash[ address ] = identifier
end