fluent-plugin-munin 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-munin (0.0.1)
4
+ fluent-plugin-munin (0.1.2)
5
5
  fluentd
6
6
 
7
7
  GEM
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fluent-plugin-munin"
6
- s.version = "0.1.1"
6
+ s.version = "0.1.2"
7
7
  s.authors = ["Kentaro Yoshida"]
8
8
  s.email = ["y.ken.studio@gmail.com"]
9
9
  s.homepage = "https://github.com/y-ken/fluent-plugin-munin"
@@ -17,11 +17,11 @@ module Fluent
17
17
  def configure(conf)
18
18
  super
19
19
  service_list = get_service_list
20
- $log.info "munin-node provides #{service_list.inspect}"
20
+ $log.info "munin-node #{@munin.nodes.join(',')} provides #{service_list}"
21
21
  @interval = Config.time_value(@interval)
22
22
  @services = @service == 'all' ? service_list : @service.split(',')
23
23
  @record_hostname = @record_hostname || false
24
- @hostname = `hostname`.chomp
24
+ @hostname = @munin.nodes.join(',')
25
25
  end
26
26
 
27
27
  def start
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-munin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
16
- requirement: &8370700 !ruby/object:Gem::Requirement
16
+ requirement: &8489320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *8370700
24
+ version_requirements: *8489320
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: fluentd
27
- requirement: &8369440 !ruby/object:Gem::Requirement
27
+ requirement: &8488100 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *8369440
35
+ version_requirements: *8488100
36
36
  description:
37
37
  email:
38
38
  - y.ken.studio@gmail.com