snmp-open 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snmp/open/options.rb +6 -2
- data/lib/snmp/open/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b13230f5561531372236208bfe42c5a0d44ef032d8075316fd02bf78ec7e78b3
|
4
|
+
data.tar.gz: 2fc93d9967c5fc37918b7f371147e14f9942d356699a02e4ce46b06763bfceb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3678f4b2e04b9f5a3a45edd3273d8ecfecb8a7a2bc4d92568b9644c6192e8e5fbeb8b902f0bf53d5c42b184f1402359a6daf8ea9f9923c1331b22b914fc0a54
|
7
|
+
data.tar.gz: 19a0f2e47cb585f3a1aaab331c3a97bbec05d3e57ce8ec76e17f5c1dc48f96a5b68cbb0b9d8b7b648490cbfbeed0dd1f2810381574286bd5135bddc9eac2d5bc
|
data/lib/snmp/open/options.rb
CHANGED
@@ -12,8 +12,10 @@ module SNMP
|
|
12
12
|
'snmpbulkwalk' => '-Cc',
|
13
13
|
'snmpwalk' => '-Cc'
|
14
14
|
},
|
15
|
+
no_mib_name: '-Os',
|
15
16
|
no_units: '-OU',
|
16
17
|
non_symbolic: '-Oe',
|
18
|
+
non_symbolic_table_indexes: '-Ob',
|
17
19
|
numeric: '-On',
|
18
20
|
priv_password: '-X', # not recommended, see snmp.conf(5)
|
19
21
|
priv_protocol: '-x',
|
@@ -24,9 +26,11 @@ module SNMP
|
|
24
26
|
host: nil
|
25
27
|
}.freeze
|
26
28
|
|
27
|
-
# On some systems, SNMP command outputs will include symbolic values
|
28
|
-
# and/or value units. The parser doesn't support these, so
|
29
|
+
# On some systems, SNMP command outputs will include symbolic values,
|
30
|
+
# table indexes, and/or value units. The parser doesn't support these, so
|
31
|
+
# disable them.
|
29
32
|
REQUIRED_BY_PARSER = {
|
33
|
+
'-Ob' => nil,
|
30
34
|
'-Oe' => nil,
|
31
35
|
'-OU' => nil
|
32
36
|
}.freeze
|
data/lib/snmp/open/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snmp-open
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Miller
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,7 +114,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
|
-
|
117
|
+
rubyforge_project:
|
118
|
+
rubygems_version: 2.7.6.2
|
118
119
|
signing_key:
|
119
120
|
specification_version: 4
|
120
121
|
summary: Wrapper for command-line SNMP utilities
|