logstash-integration-snmp 4.2.0-java → 4.2.1-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 +3 -0
- data/VERSION +1 -1
- data/docs/index.asciidoc +5 -0
- data/lib/logstash-integration-snmp_jars.rb +1 -1
- data/spec/integration/inputs/snmp_spec.rb +21 -0
- data/vendor/jar-dependencies/org/logstash/integrations/plugin/{4.2.0/plugin-4.2.0.jar → 4.2.1/plugin-4.2.1.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: cecd93452a9a34d8ad060c721c7ea1b9106dbecdeabb090c568becc03b9bec4f
|
|
4
|
+
data.tar.gz: 725f8aa1e8a320185ddcefbbb8958bc162af759f01336e4403850c7d7f666cc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de59aff428d4f345b09eb69e21b94ee00e905ab9ebddb32956e99f953aaefa5ce80c004e4824bbc511543af2cd9236cbfa799c9ea490cadb7e073fb6253a408a
|
|
7
|
+
data.tar.gz: 203c22dc767aefa06ed42bdaa835f5d9e64f376ed95bc7d92652d77ead2e7d0b61b1cf2eeca2efcc00544a61189b13503bca86668bae0494199717f4a181b476
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.2.
|
|
1
|
+
4.2.1
|
data/docs/index.asciidoc
CHANGED
|
@@ -148,6 +148,11 @@ $ smidump --level=1 -k -f python RFC1213-MIB > RFC1213-MIB.dic
|
|
|
148
148
|
|
|
149
149
|
Note that the resulting file as output by `smidump` must have the `.dic` extension.
|
|
150
150
|
|
|
151
|
+
When `mib_paths` is configured, note that the complete set of all MIBs required must be included here. Any conflicting MIBs with defaults will
|
|
152
|
+
prefer the default, not the MIB configured on the `mib_paths`. The tightest control and maximal compatability can be acheived by ensuring that
|
|
153
|
+
`use_provided_mibs` is set to `false` and the complete set of MIBs are included in files listed in `mib_paths`. The defaults from the old implementation
|
|
154
|
+
can be found in the https://github.com/ruby-snmp/ruby-snmp/tree/master/data/ruby/snmp/mibs[ruby-snmp github repository].
|
|
155
|
+
|
|
151
156
|
[id="plugins-{type}s-{plugin}-locate-mibs"]
|
|
152
157
|
===== Preventing a `failed to locate MIB module` error
|
|
153
158
|
|
|
@@ -4,4 +4,4 @@ require 'jar_dependencies'
|
|
|
4
4
|
require_jar('org.snmp4j', 'snmp4j', '3.8.0')
|
|
5
5
|
require_jar('org.snmp4j', 'snmp4j-log4j', '2.8.11')
|
|
6
6
|
require_jar('org.snakeyaml', 'snakeyaml-engine', '2.7')
|
|
7
|
-
require_jar('org.logstash.integrations', 'plugin', '4.2.
|
|
7
|
+
require_jar('org.logstash.integrations', 'plugin', '4.2.1')
|
|
@@ -73,6 +73,27 @@ describe LogStash::Inputs::Snmp, :integration => true do
|
|
|
73
73
|
|
|
74
74
|
it_behaves_like 'snmp plugin return single get event'
|
|
75
75
|
end
|
|
76
|
+
|
|
77
|
+
describe 'snmp v3 with AES256 & Triple-DES' do
|
|
78
|
+
let(:config) { {
|
|
79
|
+
'hosts' => [{ 'host' => "udp:snmpsim/163", 'version' => '3' }],
|
|
80
|
+
'security_name' => 'testuser',
|
|
81
|
+
'auth_protocol' => 'sha',
|
|
82
|
+
'auth_pass' => 'authp123',
|
|
83
|
+
'priv_protocol' => 'aes256with3desKey',
|
|
84
|
+
'priv_pass' => 'privpass123',
|
|
85
|
+
'security_level' => 'authPriv',
|
|
86
|
+
'get' => [
|
|
87
|
+
"1.3.6.1.2.1.1.1.0", # sysDescr
|
|
88
|
+
]
|
|
89
|
+
} }
|
|
90
|
+
|
|
91
|
+
it 'fetches system description from snmpsim' do
|
|
92
|
+
event = run_plugin_and_get_queue(plugin).pop
|
|
93
|
+
expect(event).to be_a(LogStash::Event)
|
|
94
|
+
expect(event.get('iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0')).to eq('SNMP Simulator for AES256 with 3DES Key Extension Testing')
|
|
95
|
+
end
|
|
96
|
+
end
|
|
76
97
|
end
|
|
77
98
|
|
|
78
99
|
describe '`walk` operation' do
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-integration-snmp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.1
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2026-01-16 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: logstash-core-plugin-api
|
|
@@ -468,7 +468,7 @@ files:
|
|
|
468
468
|
- spec/unit/inputs/common_spec.rb
|
|
469
469
|
- spec/unit/inputs/snmp_spec.rb
|
|
470
470
|
- spec/unit/inputs/snmptrap_spec.rb
|
|
471
|
-
- vendor/jar-dependencies/org/logstash/integrations/plugin/4.2.
|
|
471
|
+
- vendor/jar-dependencies/org/logstash/integrations/plugin/4.2.1/plugin-4.2.1.jar
|
|
472
472
|
- vendor/jar-dependencies/org/snakeyaml/snakeyaml-engine/2.7/snakeyaml-engine-2.7.jar
|
|
473
473
|
- vendor/jar-dependencies/org/snmp4j/snmp4j-log4j/2.8.11/snmp4j-log4j-2.8.11.jar
|
|
474
474
|
- vendor/jar-dependencies/org/snmp4j/snmp4j/3.8.0/snmp4j-3.8.0.jar
|