logstash-integration-snmp 4.0.1-java → 4.0.3-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: 2a2a3c314a8797b49f4f35a7a79779baa76ffc94b1d44bac47459d87c735ffe2
4
- data.tar.gz: eacee8e01c540e097243465583a2701e242b4fb6c246ed5c79905b37e5037d33
3
+ metadata.gz: 5529910e1eabb687165e253a74a196e15666484d9d060738b5dd5ed531ba638f
4
+ data.tar.gz: 378404ffc2568f5e21011fe1e05dc61d63de455aa7dfccfa5ab61fe0c7c01af7
5
5
  SHA512:
6
- metadata.gz: 1712b4df3084f8869ce0cbb5f4225551cf9a515f74dd1c9eaffad9ec4f05cff962e3fd79e55699f49f629a7c4db6a1685725940a81789085c2a4645d62e9ed65
7
- data.tar.gz: 23ead4fe9535c6395ab3f416a75e140453912f5964588837fd8a122a7d18122f6413b04ecd19f272355defcba24ad5181a4242ff60bf4e330f3f06a433077e8a
6
+ metadata.gz: '0148c75d5edd7e107e1f6bbbc4422e056b6145c8aabea1a3cea9024403cd90cd861cd21e99dd7751bf37ce1891932ac7fba44e171344e476d07820157a70523e'
7
+ data.tar.gz: 26ef7ab8b4ccc50d63422647d20bfcaae0253f1ccecb5eca605eaf3a2a5babaff11d0806424054b22cedaa2ca3bbc130f89302eede7c926d290566d862afb1e0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 4.0.3
2
+ - [Doc] Restore links to importing MIBs info [#60](https://github.com/logstash-plugins/logstash-integration-snmp/pull/60)
3
+
4
+ ## 4.0.2
5
+ - 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)
6
+
1
7
  ## 4.0.1
2
8
  - [DOC] Add technical preview banner and reimplement cross-doc links [#57](https://github.com/logstash-plugins/logstash-integration-snmp/pull/57)
3
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.0.1
1
+ 4.0.3
@@ -50,8 +50,6 @@ easier package maintenance, and a smaller installation footprint.
50
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
51
  ****
52
52
 
53
- // ToDo: link:{logstash-ref}/plugins-input-snmp.html[Importing MIBs]
54
-
55
53
 
56
54
  [id="plugins-{type}s-{plugin}-ecs"]
57
55
  ==== Compatibility with the Elastic Common Schema (ECS)
@@ -74,10 +72,8 @@ Metadata fields follow a specific naming convention when <<plugins-{type}s-{plug
74
72
 
75
73
  This plugin already includes the IETF MIBs (management information bases), and you do not need to import them.
76
74
  If you need additional MIBs, you need to import them.
77
- Check out "Importing MIBs" for instructions.
75
+ Check out link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-import-mibs[Importing MIBs] for info.
78
76
 
79
- // link:{logstash-ref}/plugins-input-snmp.html[Importing MIBs]
80
- // ToDo: Add link to MIBs content after generated file exists.
81
77
 
82
78
  [id="plugins-{type}s-{plugin}-options"]
83
79
  ==== SNMP Input Configuration Options
@@ -90,10 +90,7 @@ which variable binding in the list caused the error
90
90
 
91
91
  This plugin already includes the IETF MIBs (management information bases), and you do not need to import them.
92
92
  If you need additional MIBs, you need to import them.
93
- Check out "Importing MIBs" for instructions.
94
-
95
- // link:{logstash-ref}/plugins-input-snmp.html[Importing MIBs]
96
- // ToDo: Add link to MIBs content after generated file exists.
93
+ Check out link:{logstash-ref}/plugins-integrations-snmp.html#plugins-integrations-snmp-import-mibs[Importing MIBs] for info.
97
94
 
98
95
  [id="plugins-{type}s-{plugin}-options"]
99
96
  ==== SNMP Trap Input Configuration Options
@@ -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.1')
6
+ require_jar('org.logstash.integrations', 'plugin', '4.0.3')
@@ -130,7 +130,7 @@ describe LogStash::Inputs::Snmp, :integration => true do
130
130
  expect(table).to be_a(Array)
131
131
 
132
132
  (0..9).each do |index|
133
- expect(table[index]["iso.org.dod.internet.mgmt.mib-2.system.sysORTable.sysOREntry.sysORUpTime.#{index + 1}"]).to be_a Integer
133
+ expect(table[index]["iso.org.dod.internet.mgmt.mib-2.system.sysORTable.sysOREntry.sysORUpTime"]).to be_a Integer
134
134
  expect(table[index]['index']).to be_a(String)
135
135
  end
136
136
  end
@@ -192,7 +192,7 @@ describe LogStash::Inputs::Snmp, :integration => true do
192
192
  expect(table.length).to be(1)
193
193
 
194
194
  table_oid_data = table[0]
195
- expect(table_oid_data['iso.org.dod.internet.mgmt.mib-2.system.sysName.0']).to be_a String
195
+ expect(table_oid_data['iso.org.dod.internet.mgmt.mib-2.system.sysName']).to be_a String
196
196
  expect(table_oid_data['index']).to be_a String
197
197
  end
198
198
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-integration-snmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-17 00:00:00.000000000 Z
11
+ date: 2024-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -483,7 +483,7 @@ files:
483
483
  - spec/unit/inputs/common_spec.rb
484
484
  - spec/unit/inputs/snmp_spec.rb
485
485
  - spec/unit/inputs/snmptrap_spec.rb
486
- - vendor/jar-dependencies/org/logstash/integrations/plugin/4.0.1/plugin-4.0.1.jar
486
+ - vendor/jar-dependencies/org/logstash/integrations/plugin/4.0.3/plugin-4.0.3.jar
487
487
  - vendor/jar-dependencies/org/snakeyaml/snakeyaml-engine/2.7/snakeyaml-engine-2.7.jar
488
488
  - vendor/jar-dependencies/org/snmp4j/snmp4j/3.8.0/snmp4j-3.8.0.jar
489
489
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html