lib/riemann/babbler/plugins/dummy.rb in riemann-babbler-0.9.9.2 vs lib/riemann/babbler/plugins/dummy.rb in riemann-babbler-0.9.9.3
- old
+ new
@@ -4,9 +4,9 @@
if tcp_port_aviable?(riemann.host, riemann.port)
logger.unknown "Riemann state 'ok' host: #{configatron.riemann.host}, port #{configatron.riemann.port}, proto tcp"
else
logger.fatal "Can't access to riemann host: #{configatron.riemann.host}, port #{configatron.riemann.port}, proto tcp"
end
- Array.new
+ disk << { :service => plugin.service, :state => 'ok' }
end
end