logstash-integration-snmp 4.0.1-java → 4.0.3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/docs/input-snmp.asciidoc +1 -5
- data/docs/input-snmptrap.asciidoc +1 -4
- data/lib/logstash-integration-snmp_jars.rb +1 -1
- data/spec/integration/inputs/snmp_spec.rb +2 -2
- data/vendor/jar-dependencies/org/logstash/integrations/plugin/{4.0.1/plugin-4.0.1.jar → 4.0.3/plugin-4.0.3.jar} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5529910e1eabb687165e253a74a196e15666484d9d060738b5dd5ed531ba638f
|
|
4
|
+
data.tar.gz: 378404ffc2568f5e21011fe1e05dc61d63de455aa7dfccfa5ab61fe0c7c01af7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
+
4.0.3
|
data/docs/input-snmp.asciidoc
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
@@ -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
|
|
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
|
|
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
|
|
Binary file
|
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.
|
|
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-
|
|
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.
|
|
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
|