sensu-plugins-snmp 2.1.0 → 3.0.0

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: f8ce8fe5fa3c177f034f7dbd7d1a559712ca7b3944763600978d055ec5bac398
4
- data.tar.gz: 15dbda47ba10aadbe0dc719cfd68127d16eb5bad4b0d17d64cb930182733153c
3
+ metadata.gz: 05b214e0573291717c537da2fee0326ad7d69ad88cd40340359e9777d0651538
4
+ data.tar.gz: 3eabe810681bb3700ee27a2fe029c055ff48251cc2d4a174a4b9d329bfd01914
5
5
  SHA512:
6
- metadata.gz: 33e589a736c28423cc8ab83dd5027c85dcab51b69eaf0f21d19077ac5190a5152927dde44bd38f48deff98bbb38d1444609537960163798d2e797c4494c3a170
7
- data.tar.gz: 5343e84097be502c70d718de07b74638862f8baf4d4b7d4cfb93e4e2b2a382b1c234553db4a7f6b3e57ffabf5ac6f1c38ed824a0a08625d35549655a513977d4
6
+ metadata.gz: 166d15056e31140d3ed2dd69aa400d274345dc31385d32593e02189c0a73f09dd6a3da12736b4453f12f00e5d132ba84fa88094ece547b0a4eaa89ed7e7405c7
7
+ data.tar.gz: fce00bc0a180ff3b3bbeef872b2f07e10062d94336506ac9b2903d1459a38237fbc3de8931527123974d26b75d6c8d3089501080c2f102d835cb475e8962cf2c
@@ -6,6 +6,22 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+
10
+ ## [3.0.0] - 2019-03-20
11
+ ### Added
12
+ - Travis build automation to generate Sensu Asset tarballs that can be used n conjunction with Sensu provided ruby runtime assets and the Bonsai Asset Index
13
+ - Require latest sensu-plugin for Sensu Go support
14
+
15
+ ### Breaking change
16
+ - Updates minimum required ruby version to 2.3. Drop unsupported ruby versions.
17
+ - Update dependancy on sensu-plugin to 4.0
18
+ - Update runtime dep snmp requirement from = 1.2.0 to = 1.3.2
19
+
20
+ ### Changed
21
+ - Update development dep bundler requirement from ~> 1.7 to ~> 2.1
22
+ - Update development dep rubocop requirement from ~> 0.4 to ~> 0.8
23
+ - Update development dep yard requirement to ~> 0.9.11
24
+
9
25
  ## [2.1.0] - 2018-06-25
10
26
  ### Added
11
27
  - metrics-snmp-if.rb: added `--timeout|-t` option which controls the request timeout (@rocdove)
@@ -74,7 +90,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
74
90
  ### Added
75
91
  - initial release
76
92
 
77
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-snmp/compare/2.1.0...HEAD
93
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-snmp/compare/3.0.0...HEAD
94
+ [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-snmp/compare/2.1.0...3.0.0
78
95
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-snmp/compare/2.0.0...2.1.0
79
96
  [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-snmp/compare/1.1.0...2.0.0
80
97
  [1.1.0]: https://github.com/sensu-plugins/sensu-plugins-snmp/compare/1.0.0...1.1.0
data/README.md CHANGED
@@ -1,24 +1,118 @@
1
- ## Sensu-Plugins-snmp
2
-
1
+ [![Sensu Bonsai Asset](https://img.shields.io/badge/Bonsai-Download%20Me-brightgreen.svg?colorB=89C967&logo=sensu)](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-snmp)
3
2
  [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-snmp.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-snmp)
4
3
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-snmp.svg)](http://badge.fury.io/rb/sensu-plugins-snmp)
5
4
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-snmp/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-snmp)
6
5
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-snmp/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-snmp)
7
6
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-snmp.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-snmp)
8
7
 
9
- ## Functionality
8
+ ## Sensu SNMP Plugin
9
+
10
+ - [Overview](#overview)
11
+ - [Usage examples](#usage-examples)
12
+ - [Configuration](#configuration)
13
+ - [Sensu Go](#sensu-go)
14
+ - [Asset definition](#asset-definition)
15
+ - [Check definition](#check-definition)
16
+ - [Sensu Core](#sensu-core)
17
+ - [Check definition](#check-definition)
18
+ - [Installation](#installation)
19
+
20
+ ### Overview
21
+
22
+ This plugin provides native SNMP instrumentation for monitoring and metrics collection, including: generic OID single/bulk query for status and metrics, and ifTable metrics.
10
23
 
11
- ## Files
24
+ The Sensu assets packaged from this repository are built against the Sensu ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator or handler), make sure you include the corresponding Sensu ruby runtime asset in the list of assets needed by the resource. The current ruby-runtime assets can be found [here](https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime) in the [Bonsai Asset Index](bonsai.sensu.io)
25
+
26
+ #### Files
12
27
  * bin/check-snmp.rb
13
28
  * bin/check-snmp-disk.rb
14
29
  * bin/metrics-snmp-bulk.rb
15
30
  * bin/metrics-snmp-if.rb
16
31
  * bin/metrics-snmp.rb
17
32
 
18
- ## Usage
33
+ ## Usage examples
34
+
35
+ **metrics-snmp.rb**
36
+ ```
37
+ Usage: metrics-snmp.rb (options)
38
+ -C snmp community
39
+ -g Replace dots with underscores in hostname
40
+ -h host
41
+ -d mibdir Full path to custom MIB directory.
42
+ -l mib[,mib,mib...] Custom MIBs to load (from custom mib path).
43
+ -O OID
44
+ -P, --port PORT
45
+ -p prefix prefix to attach to graphite path
46
+ -v version SNMP version to use (SNMPv1, SNMPv2c (default))
47
+ -s suffix suffix to attach to graphite path (required)
48
+ ```
49
+
50
+ ### Configuration
51
+ #### Sensu Go
52
+ ##### Asset registration
53
+
54
+ Assets are the best way to make use of this handler. If you're not using an asset, please consider doing so! If you're using sensuctl 5.13 or later, you can use the following command to add the asset:
55
+
56
+ `sensuctl asset add sensu-plugins/sensu-plugins-snmp`
57
+
58
+ If you're using an earlier version of sensuctl, you can download the asset definition from [this project's Bonsai Asset Index page](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-snmp).
59
+
60
+ ##### Asset definition
61
+
62
+ ```yaml
63
+ ---
64
+ type: Asset
65
+ api_version: core/v2
66
+ metadata:
67
+ name: sensu-plugins-snmp
68
+ spec:
69
+ url: https://assets.bonsai.sensu.io/cd39e88ca50bf16793796429a94673df208ddb26/sensu-plugins-snmp_3.0.0-pre_centos_linux_amd64.tar.gz
70
+ sha512: 7edd57dab82bfd97662d3f2d6ddfb70c41bbcba591b1c2c4077d0107c667fbd2c64ad2bcef51e0192e18176ade60fde403c4784ac141ba1a932cc65c8c897169
71
+ filters:
72
+ - entity.system.os == 'linux'
73
+ - entity.system.arch == 'amd64'
74
+ - entity.system.platform_family == 'rhel'
75
+ ```
76
+
77
+ ##### Check definition
78
+
79
+ ```yaml
80
+ ---
81
+ type: CheckConfig
82
+ spec:
83
+ command: "metrics-snmp.rb -h 10.0.0.1 -O 1.2.3.4.5"
84
+ interval: 10
85
+ publish: true
86
+ runtime_assets:
87
+ - sensu-plugins-snmp
88
+ - sensu-ruby-runtime
89
+ subscriptions:
90
+ - snmp-pollers
91
+ output_metric_format: graphite_plaintext
92
+ output_metric_handlers:
93
+ - influx-db
94
+ ```
95
+ #### Sensu Core
96
+ ##### Check definition
97
+ ```json
98
+ {
99
+ "checks": {
100
+ "check-snmp": {
101
+ "command": "metrics-snmp.rb -h 10.0.0.1 -O 1.2.3.4.5",
102
+ "subscribers": [
103
+ "snmp-pollers"
104
+ ],
105
+ "interval": 60
106
+ }
107
+ }
108
+ }
109
+ ```
19
110
 
20
111
  ## Installation
21
112
 
22
- [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
113
+ ### Sensu Go
114
+
115
+ See the instructions above for [asset registration](#asset-registration)
23
116
 
24
- ## Notes
117
+ ### Sensu Core
118
+ Install and setup plugins on [Sensu Core](https://docs.sensu.io/sensu-core/latest/installation/installing-plugins/)
@@ -1,4 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  #
3
5
  # check-snmp-disk
4
6
  #
@@ -108,7 +110,8 @@ class CheckSNMP < Sensu::Plugin::Check::CLI
108
110
  response = manager.get_bulk(0, 200, [dev_desc_oid])
109
111
  dev_indexes = []
110
112
  response.each_varbind do |var|
111
- next if config[:ignoremnt] && config[:ignoremnt].include?(var.value.to_s.split(',')[0])
113
+ next if config[:ignoremnt]&.include?(var.value.to_s.split(',')[0])
114
+
112
115
  if var.value.to_s =~ /#{config[:mount_point]}/
113
116
  dev_indexes.push(var.name[-1])
114
117
  end
@@ -116,7 +119,7 @@ class CheckSNMP < Sensu::Plugin::Check::CLI
116
119
  dev_indexes.each do |dev_index|
117
120
  response = manager.get(["#{dev_desc_oid}.#{dev_index}", "#{dev_size_oid}.#{dev_index}", "#{dev_used_oid}.#{dev_index}"])
118
121
  dev_desc, dev_size, dev_used = response.varbind_list
119
- perc = dev_used.value.to_f / dev_size.value.to_f * 100
122
+ perc = dev_used.value / dev_size.value.to_f * 100
120
123
  if perc > config[:critical]
121
124
  @crit_mnt << "#{dev_desc.value} = #{perc.round(2)}%"
122
125
  elsif perc > config[:warning]
@@ -125,7 +128,7 @@ class CheckSNMP < Sensu::Plugin::Check::CLI
125
128
  end
126
129
  rescue SNMP::RequestTimeout
127
130
  unknown "#{config[:host]} not responding"
128
- rescue => e
131
+ rescue StandardError => e
129
132
  unknown "An unknown error occured: #{e.inspect}"
130
133
  end
131
134
  critical usage_summary unless @crit_mnt.empty?
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  # Check SNMP
3
5
  # ===
4
6
  #
@@ -97,7 +99,7 @@ class CheckSNMP < Sensu::Plugin::Check::CLI
97
99
  end
98
100
  rescue SNMP::RequestTimeout
99
101
  unknown "#{config[:host]} not responding"
100
- rescue => e
102
+ rescue StandardError => e
101
103
  unknown "An unknown error occured: #{e.inspect}"
102
104
  end
103
105
  operators = { 'le' => :<=, 'ge' => :>= }
@@ -119,7 +121,7 @@ class CheckSNMP < Sensu::Plugin::Check::CLI
119
121
 
120
122
  critical 'Critical state detected' if snmp_value.to_s.to_i.send(symbol, config[:critical].to_s.to_i)
121
123
  # #YELLOW
122
- warning 'Warning state detected' if snmp_value.to_s.to_i.send(symbol, config[:warning].to_s.to_i) && !snmp_value.to_s.to_i.send(symbol, config[:critical].to_s.to_i) # rubocop:disable LineLength
124
+ warning 'Warning state detected' if snmp_value.to_s.to_i.send(symbol, config[:warning].to_s.to_i) && !snmp_value.to_s.to_i.send(symbol, config[:critical].to_s.to_i) # rubocop:disable Layout/LineLength
123
125
  unless snmp_value.to_s.to_i.send(symbol, config[:warning].to_s.to_i)
124
126
  ok 'All is well!'
125
127
  end
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  # SNMP Bulk Metrics
3
5
  # ===
4
6
  #
@@ -103,7 +105,7 @@ class SNMPGraphite < Sensu::Plugin::Metric::CLI::Graphite
103
105
  oids)
104
106
  rescue SNMP::RequestTimeout
105
107
  unknown "#{config[:host]} not responding"
106
- rescue => e
108
+ rescue StandardError => e
107
109
  unknown "An unknown error occured: #{e.inspect}"
108
110
  end
109
111
  config[:host] = config[:host].tr('.', '_') if config[:graphite]
@@ -116,7 +118,7 @@ class SNMPGraphite < Sensu::Plugin::Metric::CLI::Graphite
116
118
  metric_string += ".#{config[:suffix]}" if config[:suffix]
117
119
  metric_string += ".#{name}"
118
120
  output metric_string, vb.value.to_f
119
- rescue NameError # rubocop:disable Lint/HandleExceptions
121
+ rescue NameError # rubocop:disable Lint/SuppressedException
120
122
  # Rescue as some values may fail to cast to float
121
123
  end
122
124
  end
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  # SNMP Interface Metrics
3
5
  # ===
4
6
  #
@@ -36,7 +38,7 @@
36
38
  # Released under the same terms as Sensu (the MIT license); see LICENSE
37
39
  # for details.
38
40
 
39
- # rubocop:disable VariableName
41
+ # rubocop:disable Naming/VariableName
40
42
  require 'sensu-plugin/metric/cli'
41
43
  require 'snmp'
42
44
 
@@ -130,22 +132,22 @@ class SNMPIfStatsGraphite < Sensu::Plugin::Metric::CLI::Graphite
130
132
  description: 'Request timeout'
131
133
 
132
134
  def run # rubocop:disable Metrics/AbcSize
133
- if_table_HC_columns = %w(
135
+ if_table_HC_columns = %w[
134
136
  ifHCInOctets ifHCOutOctets
135
137
  ifHCInUcastPkts ifHCOutUcastPkts
136
138
  ifHCInMulticastPkts ifHCOutMulticastPkts
137
139
  ifHCInBroadcastPkts ifHCOutBroadcastPkts
138
- )
139
- if_table_LC_columns = %w(
140
+ ]
141
+ if_table_LC_columns = %w[
140
142
  ifInOctets ifOutOctets
141
143
  ifInUcastPkts ifOutUcastPkts
142
144
  ifInMulticastPkts ifOutMulticastPkts
143
145
  ifInBroadcastPkts ifOutBroadcastPkts
144
- )
145
- if_table_common_columns = %w(
146
+ ]
147
+ if_table_common_columns = %w[
146
148
  ifIndex ifOperStatus ifName ifDescr
147
149
  ifInErrors ifOutErrors ifInDiscards ifOutDiscards ifSpeed
148
- )
150
+ ]
149
151
  if_table_columns = if_table_common_columns +
150
152
  (config[:low_capacity] ? if_table_LC_columns : if_table_HC_columns)
151
153
 
@@ -197,3 +199,4 @@ class SNMPIfStatsGraphite < Sensu::Plugin::Metric::CLI::Graphite
197
199
  ok
198
200
  end
199
201
  end
202
+ # rubocop:enable Naming/VariableName
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  # SNMP Metrics
3
5
  # ===
4
6
  #
@@ -83,7 +85,7 @@ class SNMPGraphite < Sensu::Plugin::Metric::CLI::Graphite
83
85
  response = manager.get([config[:objectid].to_s])
84
86
  rescue SNMP::RequestTimeout
85
87
  unknown "#{config[:host]} not responding"
86
- rescue => e
88
+ rescue StandardEerror => e
87
89
  unknown "An unknown error occured: #{e.inspect}"
88
90
  end
89
91
  config[:host] = config[:host].tr('.', '_') if config[:graphite]
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'sensu-plugins-snmp/version'
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SensuPluginsSnmp
2
4
  module Version
3
- MAJOR = 2
4
- MINOR = 1
5
+ MAJOR = 3
6
+ MINOR = 0
5
7
  PATCH = 0
6
8
 
7
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-snmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2020-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -16,154 +16,154 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.2'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.2'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: snmp
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.0
33
+ version: 1.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.0
40
+ version: 1.3.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: codeclimate-test-reporter
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.4'
47
+ version: '2.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.4'
54
+ version: '2.1'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rubocop
56
+ name: codeclimate-test-reporter
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.40.0
61
+ version: '1.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.40.0
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: github-markup
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.1'
75
+ version: '3.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.1'
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: bundler
84
+ name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.7'
89
+ version: '0.10'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.7'
96
+ version: '0.10'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '10.0'
103
+ version: '12.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '10.0'
110
+ version: '12.3'
111
111
  - !ruby/object:Gem::Dependency
112
- name: github-markup
112
+ name: redcarpet
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.3'
117
+ version: '3.2'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '1.3'
124
+ version: '3.2'
125
125
  - !ruby/object:Gem::Dependency
126
- name: redcarpet
126
+ name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '3.2'
131
+ version: '3.1'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '3.2'
138
+ version: '3.1'
139
139
  - !ruby/object:Gem::Dependency
140
- name: yard
140
+ name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0.8'
145
+ version: '0.80'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0.8'
152
+ version: '0.80'
153
153
  - !ruby/object:Gem::Dependency
154
- name: pry
154
+ name: yard
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0.10'
159
+ version: 0.9.11
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0.10'
166
+ version: 0.9.11
167
167
  description: |-
168
168
  This plugin provides native SNMP instrumentation
169
169
  for monitoring and metrics collection, including:
@@ -171,11 +171,11 @@ description: |-
171
171
  metrics, and ifTable metrics.
172
172
  email: "<sensu-users@googlegroups.com>"
173
173
  executables:
174
- - check-snmp-disk.rb
175
- - check-snmp.rb
176
174
  - metrics-snmp-bulk.rb
177
- - metrics-snmp-if.rb
175
+ - check-snmp.rb
178
176
  - metrics-snmp.rb
177
+ - check-snmp-disk.rb
178
+ - metrics-snmp-if.rb
179
179
  extensions: []
180
180
  extra_rdoc_files: []
181
181
  files:
@@ -207,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: 2.0.0
210
+ version: 2.3.0
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="