bin/riemann-babbler in riemann-babbler-2.1.2 vs bin/riemann-babbler in riemann-babbler-2.1.3
- old
+ new
@@ -30,11 +30,11 @@
#todo: opt :log_output, 'Directions to puts your log', :default => STDOUT
#todo: opt :log_format, 'Log format', :default => '%Y-%m-%d %H:%M:%S'
opt :plugins_directory, 'Directory for plugins', :default => '/usr/share/riemann-babbler/plugins'
opt :tcp, 'Use TCP transport instead of UDP (improves reliability, slight overhead.', :default => true
opt :minimize_event_count, 'Minimize count of sent messages', :default => true
- opt :responder_http_port, 'Port to bind http responder', :default => 55755
- opt :responder_udp_port, 'Port to bind tcp responder', :default => 55955
+ opt :responder_bind_http, 'Bind to http responder', :default => '0.0.0.0:55755'
+ opt :responder_bind_udp, 'Bind to udp responder', :default => '127.0.0.1:55955'
end
# load current settings
opts.configure_from_hash({ :riemann => cmd_opts })
@@logger.level = Logger.const_get(opts.riemann.log_level) #todo: to hard