riemann-babbler 1.0.8.5 → 1.0.8.6

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.
@@ -10,6 +10,7 @@ class Riemann::Babbler::StatusFile < Riemann::Babbler
10
10
  end
11
11
 
12
12
  def collect
13
+ return [] unless File.exists? plugin.file
13
14
  content = File.read(plugin.file).split("\n").delete_if {|x| x.strip.empty? }
14
15
  {
15
16
  :service => plugin.service + " #{plugin.file}",
@@ -140,6 +140,7 @@ class Riemann::Babbler::Starter
140
140
  def start_plugins!
141
141
  plugin_threads = started_plugins.map do |plugin|
142
142
  Thread.new {
143
+ logger.info "Start plugin #{plugin}"
143
144
  plugin.new( config, logger, $riemann ).run
144
145
  }
145
146
  end
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '1.0.8.5'
3
+ VERSION = '1.0.8.6'
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: 1.0.8.5
4
+ version: 1.0.8.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: