logstash-output-nagios_nsca 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/nagios_nsca.rb +1 -4
- data/logstash-output-nagios_nsca.gemspec +2 -2
- metadata +23 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2e87ead0f53597602e1a7f37abdb7f2d71adeec
|
4
|
+
data.tar.gz: 701acda2380c0cc45716f48b047b120d93bbd2aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 638ee6122842488385e4c48e6129576df067b740d19e6359501ab0ba3cd2973d32c0fb2af47adcfd4d8e161ccf45147940c1069997409eb5008e85d147396358
|
7
|
+
data.tar.gz: 485543ee38bab66682d69a4f6a188a47a87f88199a72dc63b729c483f1e8a019a2089d3f7b011809dd140ec71e4cdcbe5e0f109ffb67a7a420ecdaef8e84f29a
|
@@ -69,10 +69,7 @@ class LogStash::Outputs::NagiosNsca < LogStash::Outputs::Base
|
|
69
69
|
return unless output?(event)
|
70
70
|
|
71
71
|
# catch logstash shutdown
|
72
|
-
if event == LogStash::SHUTDOWN
|
73
|
-
finished
|
74
|
-
return
|
75
|
-
end
|
72
|
+
return if event == LogStash::SHUTDOWN
|
76
73
|
|
77
74
|
# skip if 'send_nsca' binary doesn't exist
|
78
75
|
if !command_file_exist?
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-nagios_nsca'
|
4
|
-
s.version = '
|
4
|
+
s.version = '2.0.0'
|
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",
|
23
|
+
s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
|
24
24
|
s.add_runtime_dependency "logstash-codec-plain"
|
25
25
|
|
26
26
|
s.add_development_dependency 'logstash-devutils'
|
metadata
CHANGED
@@ -1,79 +1,73 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-nagios_nsca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
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-
|
11
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: logstash-core
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.4.0
|
20
|
-
- - <
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.0.0
|
23
14
|
requirement: !ruby/object:Gem::Requirement
|
24
15
|
requirements:
|
25
|
-
- -
|
16
|
+
- - ~>
|
26
17
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
28
|
-
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: 2.0.0
|
18
|
+
version: 2.0.0.snapshot
|
19
|
+
name: logstash-core
|
31
20
|
prerelease: false
|
32
21
|
type: :runtime
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: logstash-codec-plain
|
35
22
|
version_requirements: !ruby/object:Gem::Requirement
|
36
23
|
requirements:
|
37
|
-
- -
|
24
|
+
- - ~>
|
38
25
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
26
|
+
version: 2.0.0.snapshot
|
27
|
+
- !ruby/object:Gem::Dependency
|
40
28
|
requirement: !ruby/object:Gem::Requirement
|
41
29
|
requirements:
|
42
30
|
- - '>='
|
43
31
|
- !ruby/object:Gem::Version
|
44
32
|
version: '0'
|
33
|
+
name: logstash-codec-plain
|
45
34
|
prerelease: false
|
46
35
|
type: :runtime
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: logstash-devutils
|
49
36
|
version_requirements: !ruby/object:Gem::Requirement
|
50
37
|
requirements:
|
51
38
|
- - '>='
|
52
39
|
- !ruby/object:Gem::Version
|
53
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
54
42
|
requirement: !ruby/object:Gem::Requirement
|
55
43
|
requirements:
|
56
44
|
- - '>='
|
57
45
|
- !ruby/object:Gem::Version
|
58
46
|
version: '0'
|
47
|
+
name: logstash-devutils
|
59
48
|
prerelease: false
|
60
49
|
type: :development
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
61
55
|
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
|
62
56
|
email: info@elastic.co
|
63
57
|
executables: []
|
64
58
|
extensions: []
|
65
59
|
extra_rdoc_files: []
|
66
60
|
files:
|
67
|
-
- lib/logstash/outputs/nagios_nsca.rb
|
68
|
-
- spec/spec_helper.rb
|
69
|
-
- spec/outputs/nagios_nsca_spec.rb
|
70
|
-
- logstash-output-nagios_nsca.gemspec
|
71
|
-
- README.md
|
72
61
|
- CHANGELOG.md
|
73
62
|
- CONTRIBUTORS
|
74
63
|
- Gemfile
|
75
64
|
- LICENSE
|
76
65
|
- NOTICE.TXT
|
66
|
+
- README.md
|
67
|
+
- lib/logstash/outputs/nagios_nsca.rb
|
68
|
+
- logstash-output-nagios_nsca.gemspec
|
69
|
+
- spec/outputs/nagios_nsca_spec.rb
|
70
|
+
- spec/spec_helper.rb
|
77
71
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
78
72
|
licenses:
|
79
73
|
- Apache License (2.0)
|
@@ -96,10 +90,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
90
|
version: '0'
|
97
91
|
requirements: []
|
98
92
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.4.8
|
100
94
|
signing_key:
|
101
95
|
specification_version: 4
|
102
96
|
summary: This output is used for sending passive check results to Nagios through the NSCA protocol.
|
103
97
|
test_files:
|
104
|
-
- spec/spec_helper.rb
|
105
98
|
- spec/outputs/nagios_nsca_spec.rb
|
99
|
+
- spec/spec_helper.rb
|