fluent-plugin-zabbix 0.2.1 → 0.2.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 +4 -4
- data/fluent-plugin-zabbix.gemspec +1 -1
- data/lib/fluent/plugin/out_zabbix.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9584189d91c7cb8240c598a1d263153773dd5b1
|
|
4
|
+
data.tar.gz: 37c9b2900af32681fa7ec8a2bda11627028c1b59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bbea55a979895b1d3a42407a7fe7c0a833ad48128c17a7cb941f68b4fdd83f172c5cd9aa8e13fb58feba8a59f60d4857a2c1989c133382b6994c6ae28662329
|
|
7
|
+
data.tar.gz: c0e6b45f5e9b816aca5a56094fffd5c986e5c1995149a6285c4b3d9ad60cb396207d73d5c98de41252b2a54c4f6b2436ac44219f1937f7c076ca5564b96c2d6b
|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
|
14
14
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
15
15
|
gem.name = "fluent-plugin-zabbix"
|
|
16
16
|
gem.require_paths = ["lib"]
|
|
17
|
-
gem.version = "0.2.
|
|
17
|
+
gem.version = "0.2.2"
|
|
18
18
|
|
|
19
19
|
gem.add_runtime_dependency "fluentd", [">= 0.10", "< 2"]
|
|
20
20
|
gem.add_runtime_dependency "yajl-ruby", "~> 1.0"
|
|
@@ -56,7 +56,7 @@ class Fluent::ZabbixOutput < Fluent::Output
|
|
|
56
56
|
super
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
def
|
|
59
|
+
def bulk_send(time, bulk)
|
|
60
60
|
bulk.each do |d|
|
|
61
61
|
end
|
|
62
62
|
begin
|
|
@@ -89,7 +89,7 @@ class Fluent::ZabbixOutput < Fluent::Output
|
|
|
89
89
|
})
|
|
90
90
|
end
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
bulk_send(time, bulk) if bulk.size > 0
|
|
93
93
|
}
|
|
94
94
|
else # for name_key_pattern
|
|
95
95
|
es.each {|time,record|
|
|
@@ -104,7 +104,7 @@ class Fluent::ZabbixOutput < Fluent::Output
|
|
|
104
104
|
})
|
|
105
105
|
end
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
bulk_send(time, bulk) if bulk.size > 0
|
|
108
108
|
}
|
|
109
109
|
end
|
|
110
110
|
chain.next
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-zabbix
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- FUJIWARA Shunichiro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|