ffwd-collectd 0.1.1 → 0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 588e5be07285ab4647da0a7e99d39c559b5eca45
4
+ data.tar.gz: 901f1e3e079c7f3169b0f9e61c9d6f909720fa5b
5
+ SHA512:
6
+ metadata.gz: ea700e6d1eee19e6e7e4214e567aded6a4cc25af22f2ab49127300c3af61470d905e3076e3f7377ad75643f215c1f299b30a01a3d48a274b8a90e74a181ebc8d
7
+ data.tar.gz: 6d8c9c17e22f98ee549b995e77d988e4a0f511ea7f0deb5ce8b036de5d8553c6daab2c6061985ac666d6d4c192576d263f47346fae75423d796ebf93f09af975
@@ -16,7 +16,7 @@
16
16
  module FFWD
17
17
  module Plugin
18
18
  module Collectd
19
- VERSION = "0.1.1"
19
+ VERSION = "0.1.2"
20
20
  end
21
21
  end
22
22
  end
@@ -24,12 +24,29 @@ module FFWD::Plugin::Collectd
24
24
  include FFWD::Plugin
25
25
  include FFWD::Logging
26
26
 
27
- register_plugin "collectd"
28
-
29
27
  DEFAULT_HOST = "localhost"
30
28
  DEFAULT_PORT = 25826
31
29
  DEFAULT_TYPES_DB = "/usr/share/collectd/types.db"
32
30
 
31
+ register_plugin "collectd",
32
+ :description => "A plugin for the collectd binary protocol.",
33
+ :options => [
34
+ FFWD::Plugin.option(
35
+ :host, :default => DEFAULT_HOST, :modes => [:input],
36
+ :help => ["Host to bind to."]
37
+ ),
38
+ FFWD::Plugin.option(
39
+ :port, :default => DEFAULT_PORT,
40
+ :help => ["Port to bind to."]
41
+ ),
42
+ FFWD::Plugin.option(
43
+ :types_db, :default => DEFAULT_TYPES_DB,
44
+ :help => [
45
+ "TypesDB to load containing collectd type definitions."
46
+ ]
47
+ ),
48
+ ]
49
+
33
50
  def self.setup_input opts, core
34
51
  opts[:host] ||= DEFAULT_HOST
35
52
  opts[:port] ||= DEFAULT_PORT
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffwd-collectd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - John-John Tedro
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-03-02 00:00:00.000000000 Z
11
+ date: 2014-03-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: ffwd
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description:
@@ -34,34 +31,33 @@ executables: []
34
31
  extensions: []
35
32
  extra_rdoc_files: []
36
33
  files:
37
- - lib/ffwd/plugin/collectd/version.rb
38
34
  - lib/ffwd/plugin/collectd/parser.rb
39
35
  - lib/ffwd/plugin/collectd/types_db.rb
40
36
  - lib/ffwd/plugin/collectd/connection.rb
37
+ - lib/ffwd/plugin/collectd/version.rb
41
38
  - lib/ffwd/plugin/collectd.rb
42
39
  homepage: https://github.com/spotify/ffwd
43
40
  licenses:
44
41
  - Apache 2.0
42
+ metadata: {}
45
43
  post_install_message:
46
44
  rdoc_options: []
47
45
  require_paths:
48
46
  - lib
49
47
  required_ruby_version: !ruby/object:Gem::Requirement
50
- none: false
51
48
  requirements:
52
- - - ! '>='
49
+ - - '>='
53
50
  - !ruby/object:Gem::Version
54
51
  version: '0'
55
52
  required_rubygems_version: !ruby/object:Gem::Requirement
56
- none: false
57
53
  requirements:
58
- - - ! '>='
54
+ - - '>='
59
55
  - !ruby/object:Gem::Version
60
56
  version: '0'
61
57
  requirements: []
62
58
  rubyforge_project:
63
- rubygems_version: 1.8.23
59
+ rubygems_version: 2.0.3
64
60
  signing_key:
65
- specification_version: 3
61
+ specification_version: 4
66
62
  summary: collectd support for FFWD.
67
63
  test_files: []