logstash-integration-snmp 4.0.3-java → 4.0.5-java

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
  SHA256:
3
- metadata.gz: 5529910e1eabb687165e253a74a196e15666484d9d060738b5dd5ed531ba638f
4
- data.tar.gz: 378404ffc2568f5e21011fe1e05dc61d63de455aa7dfccfa5ab61fe0c7c01af7
3
+ metadata.gz: 1cdf41ec78d2d0dce47281406e4aaea6c40fc17ea168eb4d0d83da9915d619a5
4
+ data.tar.gz: 3158f26a48a74d0cf287a03ae42a09a59bca0d4237d0081d7f1a2f9ba1344caa
5
5
  SHA512:
6
- metadata.gz: '0148c75d5edd7e107e1f6bbbc4422e056b6145c8aabea1a3cea9024403cd90cd861cd21e99dd7751bf37ce1891932ac7fba44e171344e476d07820157a70523e'
7
- data.tar.gz: 26ef7ab8b4ccc50d63422647d20bfcaae0253f1ccecb5eca605eaf3a2a5babaff11d0806424054b22cedaa2ca3bbc130f89302eede7c926d290566d862afb1e0
6
+ metadata.gz: d155be6d03879712df944c1ba22451ffba3f6b6d644db1961c4172e3644268357d5a2e7a944cc29f10f51cc2938c1b9c6069e2f7835c22ff2f08aae867cc7ae1
7
+ data.tar.gz: 23947546e3dd90597893de098f40d89d2dd2b902edac6162f49b1121f8f939f8c4794c762b7e1e5fe55e28e4869f31ab968dc7b81dc4d4c22fac89a65cc0ec20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
+ ## 4.0.5
2
+ - Fix typo resulting in "uninitialized constant" exception for invalid column name [#73](https://github.com/logstash-plugins/logstash-integration-snmp/pull/73)
3
+
4
+ ## 4.0.4
5
+ - [DOC] Update banners and set user expectations for general availability (GA) [#67](https://github.com/logstash-plugins/logstash-integration-snmp/pull/67)
6
+
1
7
  ## 4.0.3
2
- - [Doc] Restore links to importing MIBs info [#60](https://github.com/logstash-plugins/logstash-integration-snmp/pull/60)
8
+ - [DOC] Restore links to importing MIBs info [#60](https://github.com/logstash-plugins/logstash-integration-snmp/pull/60)
3
9
 
4
10
  ## 4.0.2
5
11
  - Fixed `input-snmp` `tables` event mapping to remove the "index" value from the OID field (backward compatibility) [#61](https://github.com/logstash-plugins/logstash-integration-snmp/pull/61)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.0.3
1
+ 4.0.5
data/docs/index.asciidoc CHANGED
@@ -19,17 +19,14 @@ END - GENERATED VARIABLES, DO NOT EDIT!
19
19
 
20
20
  include::{include_path}/plugin_header.asciidoc[]
21
21
 
22
- experimental[]
23
-
24
- .Technical Preview
22
+ .Announcing the new SNMP integration plugin
25
23
  ****
26
- The new `integration-snmp` plugin, and its component plugins--`input-snmp` and `input-snmptrap`--are available in _Technical Preview_ and can be installed on the latest Logstash 7.x and 8.x versions.
27
-
28
- Current 1.x versions of the `input-snmp` plugin are bundled with {ls} by default, and will soon be replaced by the snmp input plugin contained in this integration.
29
- (If you want to opt into the Technical Preview for the `integration-snmp` plugin, run `bin/logstash-plugin install logstash-integration-snmp`.)
24
+ The new `logstash-integration-snmp` plugin is available and bundled with {ls} 8.15.0 (and later) by default.
25
+ This plugin combines our classic `logstash-input-snmp` and `logstash-input-snmptrap` plugins into a single Ruby gem at v4.0.0 and later.
26
+ Earlier versions of the stand-alone plugins that were bundled with {ls} by default will be replaced by the 4.0.0+ version contained in this new integration.
30
27
 
31
- Be aware of <<plugins-{type}s-{plugin}-migration,behavioral and mapping differences>> between current stand-alone plugins and the new versions included in the `integration-snmp`.
32
- The information in this topic can help.
28
+ IMPORTANT: Before you upgrade to {ls} 8.15.0 that includes this new integration by default, be aware of {logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-migration[behavioral and mapping differences] between stand-alone plugins and the new versions included in `integration-snmp`.
29
+ If you need to maintain current mappings for the `input-snmptrap` plugin, you have options to {logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-input-snmptrap-compat[preserve existing behavior].
33
30
  ****
34
31
 
35
32
  ==== Description
@@ -39,10 +36,10 @@ The SNMP integration plugin includes:
39
36
  * link:{logstash-ref}/plugins-inputs-snmp.html[SNMP input plugin]
40
37
  * link:{logstash-ref}/plugins-inputs-snmptrap.html[Snmptrap input plugin]
41
38
 
42
- The new the `logstash-integration-snmp` plugin combines the
39
+ The new `logstash-integration-snmp` plugin combines the
43
40
  `logstash-input-snmp` and `logstash-input-snmptrap` plugins into one integrated plugin that encompasses
44
41
  the capabilities of both.
45
- This integrated plugin package provides better alignment in snmp processing, better resource managenment,
42
+ This integrated plugin package provides better alignment in snmp processing, better resource management,
46
43
  easier package maintenance, and a smaller installation footprint.
47
44
 
48
45
  In this section, we'll cover:
@@ -20,19 +20,17 @@ END - GENERATED VARIABLES, DO NOT EDIT!
20
20
 
21
21
  include::{include_path}/plugin_header-integration.asciidoc[]
22
22
 
23
- experimental[]
24
-
25
- .Technical Preview
26
- ****
27
- The new `integration-snmp` plugin, and its component plugins--`input-snmp` and `input-snmptrap`--are available in _Technical Preview_ and can be installed on the latest Logstash 7.x and 8.x versions.
28
-
29
- Current 1.x versions of the `input-snmp` plugin are bundled with {ls} by default, and will soon be replaced by the snmp input plugin contained in this integration.
30
- (If you want to opt into the Technical Preview for the `integration-snmp` plugin, run `bin/logstash-plugin install logstash-integration-snmp`.)
23
+ .Migrating to `logstash-integration-snmp` from stand-alone `input-snmp`
24
+ ****
25
+ The `logstash-input-snmp` plugin is now a component of the `logstash-integration-snmp` plugin which is
26
+ bundled with {ls} 8.15.0 by default.
27
+ This integrated plugin package provides better alignment in snmp processing, better resource management,
28
+ easier package maintenance, and a smaller installation footprint.
31
29
 
32
- Be aware of behavioral and mapping differences between current stand-alone plugins and the new versions included in the `integration-snmp`.
30
+ Before you upgrade to {ls} 8.15.0, be aware of link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-migration[behavioral and mapping differences]
31
+ between current stand-alone plugins and the new versions included in `integration-snmp`.
32
+ ****
33
33
 
34
- Before you install the new integration, be aware of link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-migration[behavioral and mapping differences] between current stand-alone plugins and the new versions included in `integration-snmp`.
35
- ****
36
34
 
37
35
  ==== Description
38
36
 
@@ -41,15 +39,6 @@ to gather information related to the current state of the devices operation.
41
39
 
42
40
  The SNMP input plugin supports SNMP v1, v2c, and v3 over UDP and TCP transport protocols.
43
41
 
44
- .Migrating to `logstash-integration-snmp` from stand-alone `input-snmp`
45
- ****
46
- The `logstash-input-snmp` plugin is now a component of the `logstash-integration-snmp` plugin.
47
- This integrated plugin package provides better alignment in snmp processing, better resource management,
48
- easier package maintenance, and a smaller installation footprint.
49
-
50
- Before you install the new integration, be aware of link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-migration[behavioral and mapping differences] between current stand-alone plugins and the new versions included in `integration-snmp`.
51
- ****
52
-
53
42
 
54
43
  [id="plugins-{type}s-{plugin}-ecs"]
55
44
  ==== Compatibility with the Elastic Common Schema (ECS)
@@ -20,19 +20,17 @@ END - GENERATED VARIABLES, DO NOT EDIT!
20
20
 
21
21
  include::{include_path}/plugin_header-integration.asciidoc[]
22
22
 
23
- experimental[]
24
-
25
- .Technical Preview
26
- ****
27
- The new `integration-snmp` plugin, and its component plugins--`input-snmp` and `input-snmptrap`--are available in _Technical Preview_ and can be installed on the latest Logstash 7.x and 8.x versions.
28
-
29
- Current 1.x versions of the `input-snmp` plugin are bundled with {ls} by default, and will soon be replaced by the snmp input plugin contained in this integration.
30
- (If you want to opt into the Technical Preview for the `integration-snmp` plugin, run `bin/logstash-plugin install logstash-integration-snmp`.)
31
-
32
- Be aware of behavioral and mapping differences between current stand-alone plugins and the new versions included in the `integration-snmp`.
23
+ .Migrating to `logstash-integration-snmp` from stand-alone `input-snmptrap`
24
+ ****
25
+ The `logstash-input-snmptrap` plugin is now a component of the `logstash-integration-snmp` plugin which is
26
+ bundled with {ls} 8.15.0 by default.
27
+ This integrated plugin package provides better alignment in snmp processing, better resource management,
28
+ easier package maintenance, and a smaller installation footprint.
33
29
 
34
- Before you install the new integration, be aware of link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-migration[behavioral and mapping differences] between current stand-alone plugins and the new versions included in `integration-snmp`.
35
- ****
30
+ Before you upgrade to {ls} 8.15.0, be aware of link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-migration[behavioral and mapping differences]
31
+ between current stand-alone plugins and the new versions included in `integration-snmp`.
32
+ If you need to maintain current mappings for the `input-snmptrap` plugin, you have options to {logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-input-snmptrap-compat[preserve existing behavior].
33
+ ****
36
34
 
37
35
  ==== Description
38
36
 
@@ -42,15 +40,6 @@ Resulting `message` field resembles:
42
40
  [source,json]
43
41
  {"agent_addr":"192.168.1.40", "generic_trap":6, "specific_trap":15511, "enterprise":"1.3.6.1.2.1.1.1", "variable_bindings":{"1.3.6.1.2.1.1.2.0":"test one", "1.3.6.1.2.1.1.1.0":"test two"}, "type":"V1TRAP", "community":"public", "version":1, "timestamp":1500}
44
42
 
45
- .Migrating to `logstash-integration-snmp` from stand-alone `input-snmptrap`
46
- ****
47
- The `logstash-input-snmptrap` plugin is now a component of the `logstash-integration-snmp` plugin.
48
- This integrated plugin package provides better alignment in snmp processing, better resource management,
49
- easier package maintenance, and a smaller installation footprint.
50
-
51
- Before you install the new integration, be aware of link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-migration[behavioral and mapping differences] between current stand-alone plugins and the new versions included in `integration-snmp`.
52
- ****
53
-
54
43
  [id="plugins-{type}s-{plugin}-ecs"]
55
44
  ==== Event Metadata and the Elastic Common Schema (ECS)
56
45
 
@@ -275,7 +275,7 @@ class LogStash::Inputs::Snmp < LogStash::Inputs::Base
275
275
  columns = table_entry["columns"]
276
276
  columns.each do |column|
277
277
  unless column =~ OID_REGEX
278
- raise(Logstash::ConfigurationError, "The table column oid '#{column}' is an invalid format")
278
+ raise(LogStash::ConfigurationError, "The table column oid '#{column}' is an invalid format")
279
279
  end
280
280
  end
281
281
  $1
@@ -3,4 +3,4 @@
3
3
  require 'jar_dependencies'
4
4
  require_jar('org.snmp4j', 'snmp4j', '3.8.0')
5
5
  require_jar('org.snakeyaml', 'snakeyaml-engine', '2.7')
6
- require_jar('org.logstash.integrations', 'plugin', '4.0.3')
6
+ require_jar('org.logstash.integrations', 'plugin', '4.0.5')
@@ -25,7 +25,6 @@ Gem::Specification.new do |s|
25
25
  }
26
26
 
27
27
  # Gem dependencies
28
- s.add_development_dependency 'jar-dependencies', '~> 0.3'
29
28
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
30
29
  s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.3'
31
30
  s.add_runtime_dependency "logstash-mixin-validator_support", '~> 1.0'
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-integration-snmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.5
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-11 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- requirement: !ruby/object:Gem::Requirement
15
- requirements:
16
- - - "~>"
17
- - !ruby/object:Gem::Version
18
- version: '0.3'
19
- name: jar-dependencies
20
- prerelease: false
21
- type: :development
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '0.3'
27
13
  - !ruby/object:Gem::Dependency
28
14
  requirement: !ruby/object:Gem::Requirement
29
15
  requirements:
@@ -34,8 +20,8 @@ dependencies:
34
20
  - !ruby/object:Gem::Version
35
21
  version: '2.99'
36
22
  name: logstash-core-plugin-api
37
- prerelease: false
38
23
  type: :runtime
24
+ prerelease: false
39
25
  version_requirements: !ruby/object:Gem::Requirement
40
26
  requirements:
41
27
  - - ">="
@@ -51,8 +37,8 @@ dependencies:
51
37
  - !ruby/object:Gem::Version
52
38
  version: '1.3'
53
39
  name: logstash-mixin-ecs_compatibility_support
54
- prerelease: false
55
40
  type: :runtime
41
+ prerelease: false
56
42
  version_requirements: !ruby/object:Gem::Requirement
57
43
  requirements:
58
44
  - - "~>"
@@ -65,8 +51,8 @@ dependencies:
65
51
  - !ruby/object:Gem::Version
66
52
  version: '1.0'
67
53
  name: logstash-mixin-validator_support
68
- prerelease: false
69
54
  type: :runtime
55
+ prerelease: false
70
56
  version_requirements: !ruby/object:Gem::Requirement
71
57
  requirements:
72
58
  - - "~>"
@@ -79,8 +65,8 @@ dependencies:
79
65
  - !ruby/object:Gem::Version
80
66
  version: '1.0'
81
67
  name: logstash-mixin-event_support
82
- prerelease: false
83
68
  type: :runtime
69
+ prerelease: false
84
70
  version_requirements: !ruby/object:Gem::Requirement
85
71
  requirements:
86
72
  - - "~>"
@@ -93,8 +79,8 @@ dependencies:
93
79
  - !ruby/object:Gem::Version
94
80
  version: '1.0'
95
81
  name: logstash-mixin-normalize_config_support
96
- prerelease: false
97
82
  type: :runtime
83
+ prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
86
  - - "~>"
@@ -107,8 +93,8 @@ dependencies:
107
93
  - !ruby/object:Gem::Version
108
94
  version: '0'
109
95
  name: logstash-codec-plain
110
- prerelease: false
111
96
  type: :runtime
97
+ prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
100
  - - ">="
@@ -121,8 +107,8 @@ dependencies:
121
107
  - !ruby/object:Gem::Version
122
108
  version: 6.5.0
123
109
  name: logstash-core
124
- prerelease: false
125
110
  type: :runtime
111
+ prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
113
  requirements:
128
114
  - - ">="
@@ -135,8 +121,8 @@ dependencies:
135
121
  - !ruby/object:Gem::Version
136
122
  version: '0'
137
123
  name: rspec-wait
138
- prerelease: false
139
124
  type: :development
125
+ prerelease: false
140
126
  version_requirements: !ruby/object:Gem::Requirement
141
127
  requirements:
142
128
  - - ">="
@@ -149,8 +135,8 @@ dependencies:
149
135
  - !ruby/object:Gem::Version
150
136
  version: '2.3'
151
137
  name: logstash-devutils
152
- prerelease: false
153
138
  type: :development
139
+ prerelease: false
154
140
  version_requirements: !ruby/object:Gem::Requirement
155
141
  requirements:
156
142
  - - ">="
@@ -483,7 +469,7 @@ files:
483
469
  - spec/unit/inputs/common_spec.rb
484
470
  - spec/unit/inputs/snmp_spec.rb
485
471
  - spec/unit/inputs/snmptrap_spec.rb
486
- - vendor/jar-dependencies/org/logstash/integrations/plugin/4.0.3/plugin-4.0.3.jar
472
+ - vendor/jar-dependencies/org/logstash/integrations/plugin/4.0.5/plugin-4.0.5.jar
487
473
  - vendor/jar-dependencies/org/snakeyaml/snakeyaml-engine/2.7/snakeyaml-engine-2.7.jar
488
474
  - vendor/jar-dependencies/org/snmp4j/snmp4j/3.8.0/snmp4j-3.8.0.jar
489
475
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
@@ -509,7 +495,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
509
495
  - !ruby/object:Gem::Version
510
496
  version: '0'
511
497
  requirements: []
512
- rubygems_version: 3.2.33
498
+ rubygems_version: 3.3.26
513
499
  signing_key:
514
500
  specification_version: 4
515
501
  summary: Integration with SNMP - Logstash plugins