Sha256: 9a9d824683b6ec828fec8568b220f695eb614d35c44544791651b9b1f181f3fe
Contents?: true
Size: 361 Bytes
Versions: 43
Compression:
Stored size: 361 Bytes
Contents
#!/usr/bin/env ruby require 'yajl' require 'city_watch' require 'city_watch/agent' Commands.test if CityWatch.debug? dat = { :hostname => ::Socket.gethostname, # :commands => Commands.data, :watchmen => Watchmen.data } if CityWatch.config[:watch_collector] Collector.send!(CityWatch.config[:watch_collector],dat) else puts Yajl::Encoder.encode(dat) end
Version data entries
43 entries across 43 versions & 1 rubygems