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 +4 -4
- data/lib/bipbip/agent.rb +4 -2
- data/lib/bipbip/plugin.rb +1 -1
- data/lib/bipbip/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f615354d2576a060fe1559fa13d14a4937c1300b
|
4
|
+
data.tar.gz: 0007f6bd0ec3ef94f09f0660c28d23f3f8cedd11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94491d02219caca66c62490c6a594256b7dad6c57b79233a5191786a3504106d1f91e227986f7519c56497ab5f179349f3f35c47aaf84f56b5612fc9e53b4614
|
7
|
+
data.tar.gz: b9cfe248a8c37138884468f0e7c25c1caf228beca3ed5c156ffacf3c56ec0b180acbe59a146bb4a4d8dc3a04e90c8c9d35cb12cb920d401d51932d6f65cfeecd
|
data/lib/bipbip/agent.rb
CHANGED
@@ -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.
|
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
|
-
|
65
|
+
while true
|
66
|
+
sleep 1
|
67
|
+
end
|
66
68
|
end
|
67
69
|
|
68
70
|
def get_copperegg_metric_groups
|
data/lib/bipbip/plugin.rb
CHANGED
data/lib/bipbip/version.rb
CHANGED