logstash-output-nagios 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: 4eea1c55ca5c24b0735b0edf52d2f2b2fe2f2965
4
- data.tar.gz: a9af97ea6d7f90d5483808acf730cbe7958c137e
3
+ metadata.gz: b6b86e7cbdbee054801b9d9c9b12c09625fcb2d7
4
+ data.tar.gz: 3d0610ac7582606d0afa137a43279965883b5799
5
5
  SHA512:
6
- metadata.gz: 1ac0ce17ab30cf1fb01927ab4f997dd0837a8ddbd33479374cd3a5d05fedf23e68666b9acb144980b0e3655d910d947f8ccf31798f21675ecf356730fa0c98b1
7
- data.tar.gz: ec3eb47c0790b5a30b4d572cf10443f2b695e163bbfa2550b60def9c78c683553b1f61b21e9d6efc52e0129f7677881c1e7091cfa9adc7bba67de73e1297c465
6
+ metadata.gz: 03b98edaba1544a30d72d2e55acc8762b914cea0f5b237791847c0d8a84995a2c66c4bba666794a0b6a6bdd8e91333e8900609864164608fc2520549babfe264
7
+ data.tar.gz: 2b83dcb41fd19ffea9db2d23f09fcb9a9a222d920447cc77af46d1697bd0a517123e1d54d1b9e5c99b7bad7603b564268ab774c50c7d881a8d8c7e474df25167
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
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
  - Small refactoring to have functions out of small concepts.
3
8
  - Remove the path validation as is broken from the LS side
@@ -47,7 +47,7 @@ class LogStash::Outputs::Nagios < LogStash::Outputs::Base
47
47
  end # def register
48
48
 
49
49
  def receive(event)
50
- return unless output?(event)
50
+
51
51
 
52
52
  if !command_file_exist?
53
53
  @logger.warn("Skipping nagios output; command file is missing",
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-nagios'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "The Nagios output is used for sending passive check results to Nagios via the Nagios command file"
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
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: