bipbip 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8903502222cc5f314d6127cd5426ee671bd37ad6
4
- data.tar.gz: 8acc5e65784a3df1dae968a0951f0033ec690bdb
3
+ metadata.gz: f615354d2576a060fe1559fa13d14a4937c1300b
4
+ data.tar.gz: 0007f6bd0ec3ef94f09f0660c28d23f3f8cedd11
5
5
  SHA512:
6
- metadata.gz: f0ea82bd53a4b1e1b63510228ef7524db047e9f2e8d22e0e7dbdd0858409e210c5601ad6aac295dbbf5123a55aafbdb68474db346be2a27b893a90e27d03e43d
7
- data.tar.gz: e9d8e3765e4ef52ef388353dd28463427921d4f0c52aa6fe86c89c1f7b29b6c9ef932065cde8e65500dbf401552b61a172e84b6c782f8159aee73f6ac987b99f
6
+ metadata.gz: 94491d02219caca66c62490c6a594256b7dad6c57b79233a5191786a3504106d1f91e227986f7519c56497ab5f179349f3f35c47aaf84f56b5612fc9e53b4614
7
+ data.tar.gz: b9cfe248a8c37138884468f0e7c25c1caf228beca3ed5c156ffacf3c56ec0b180acbe59a146bb4a4d8dc3a04e90c8c9d35cb12cb920d401d51932d6f65cfeecd
@@ -57,12 +57,14 @@ module Bipbip
57
57
  @services.each do |service|
58
58
  plugin_name = service['plugin']
59
59
  plugin = plugin_factory(plugin_name)
60
- service_config = service.select { |key| !['plugin'].include?(key) }
60
+ service_config = service.reject { |key, value| ['plugin'].include?(key) }
61
61
  Bipbip.logger.info "Starting plugin #{plugin_name}"
62
62
  @plugin_pids.push plugin.run(service_config, @frequency)
63
63
  end
64
64
 
65
- p Process.waitall
65
+ while true
66
+ sleep 1
67
+ end
66
68
  end
67
69
 
68
70
  def get_copperegg_metric_groups
@@ -50,7 +50,7 @@ module Bipbip
50
50
  def metric_identifier(server)
51
51
  identifier = Bipbip.fqdn
52
52
  unless server.empty?
53
- identifier += '::' + server.values.first
53
+ identifier += '::' + server.values.first.to_s
54
54
  end
55
55
  identifier
56
56
  end
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bipbip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media