logstash-output-nagios_nsca 2.0.0 → 2.0.1

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: b2e87ead0f53597602e1a7f37abdb7f2d71adeec
4
- data.tar.gz: 701acda2380c0cc45716f48b047b120d93bbd2aa
3
+ metadata.gz: bcadbe91ab9885033d68c2812e1db0ef6f0fee1b
4
+ data.tar.gz: 4d2ba411e1f56d0217f3b398368ddde8357ec539
5
5
  SHA512:
6
- metadata.gz: 638ee6122842488385e4c48e6129576df067b740d19e6359501ab0ba3cd2973d32c0fb2af47adcfd4d8e161ccf45147940c1069997409eb5008e85d147396358
7
- data.tar.gz: 485543ee38bab66682d69a4f6a188a47a87f88199a72dc63b729c483f1e8a019a2089d3f7b011809dd140ec71e4cdcbe5e0f109ffb67a7a420ecdaef8e84f29a
6
+ metadata.gz: 15d9c927ab9aa403971fb8e1de09fc2c9348120e6eb17014b7b491ef64e8c8152165ffcf9bf6ca67ba9506d01b72741e637f86a96f80e23575576448e366766d
7
+ data.tar.gz: 4c00fbab31e6f768db54b536a6b04ebae6bc99af8c8c88915c869fd417f7c099d2edf461e431b757a16e463f33883483a9a98dc4382d69bc41704e75a372e8bb
data/CHANGELOG.md CHANGED
@@ -1,2 +1,7 @@
1
+ ## 2.0.0
2
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
+ instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
4
+ - Dependency on logstash-core update to 2.0
5
+
1
6
  # 1.1.0
2
7
  - Add basic test for the plugin
@@ -66,7 +66,7 @@ class LogStash::Outputs::NagiosNsca < LogStash::Outputs::Base
66
66
  public
67
67
  def receive(event)
68
68
  # exit if type or tags don't match
69
- return unless output?(event)
69
+
70
70
 
71
71
  # catch logstash shutdown
72
72
  return if event == LogStash::SHUTDOWN
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-nagios_nsca'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This output is used for sending passive check results to Nagios through the NSCA protocol."
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
23
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
24
24
  s.add_runtime_dependency "logstash-codec-plain"
25
25
 
26
26
  s.add_development_dependency 'logstash-devutils'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-nagios_nsca
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-23 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ~>
16
+ - - '>='
17
17
  - !ruby/object:Gem::Version
18
18
  version: 2.0.0.snapshot
19
+ - - <
20
+ - !ruby/object:Gem::Version
21
+ version: 3.0.0
19
22
  name: logstash-core
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 2.0.0.snapshot
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements: