riemann-babbler 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 309e98cc3923bdafb829a77216513196e66936fe
4
- data.tar.gz: a243882a84cb89330c49ad95b80060113ef94d86
3
+ metadata.gz: 47e44e9f1c82fd791b13b7b35777a6a68d044f5b
4
+ data.tar.gz: 2489844ce888395d409fb8578a82267e246cd388
5
5
  SHA512:
6
- metadata.gz: e5d6d95cffe705d7a26d294d75ceb57be4d0f5b86558755c8225eeb96e9ff854f6597a9bf9b6e23f6d867018ed3a17eecfb08c14a376a24ac7d6cacf2982b32e
7
- data.tar.gz: 6835bbb55f10335dd2f9e533c262d669ec60e4220289a6ccaa7d394797d7d5e6490a30d9f4d4e35630f73bc9686a97f4cad6b399f26853574fca0b679a587406
6
+ metadata.gz: f01b7008e9fd85179737c09abe79196a4955835721398aaba4a8ddf607cc80b19ad567be8239beb8fc27a345b1c722b2e4d5a2d42f9fbc854225466e41ac59e3
7
+ data.tar.gz: bf6822268d833abc3e09ad406973b1dca6501e7fd8bf614684086b5da1e5c4909b0d2512e0e49d3cfb56a03551cb74274f0eb74433c6178475e536b64ced5ffe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- riemann-babbler (2.1.1)
4
+ riemann-babbler (2.1.2)
5
5
  configatron
6
6
  docile
7
7
  file-tail
@@ -4,6 +4,7 @@ class Riemann::Babbler::Plugin::ResponderUdp < Riemann::Babbler::Plugin
4
4
 
5
5
  def init
6
6
  plugin.set_default(:port, opts.riemann.responder_udp_port)
7
+ plugin.set_default(:host, '127.0.0.1')
7
8
  end
8
9
 
9
10
  def process(data, src)
@@ -17,8 +18,8 @@ class Riemann::Babbler::Plugin::ResponderUdp < Riemann::Babbler::Plugin
17
18
  end
18
19
 
19
20
  def run!
20
- log :unknown, "Start udp server at #{plugin.port}"
21
- Socket.udp_server_loop(plugin.port) do |data, src|
21
+ log :unknown, "Start udp server at #{plugin.host}:#{plugin.port}"
22
+ Socket.udp_server_loop(plugin.host, plugin.port) do |data, src|
22
23
  log :debug, "Recived data: #{data.inspect}, from client: #{src.inspect}"
23
24
  process(data, src)
24
25
  end
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  module Babbler
3
- VERSION = '2.1.1'
3
+ VERSION = '2.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasiliev Dmitry