sensu-plugins-dns 0.0.6 → 1.0.0

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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 430dc3ea38b7b3450e2bcebebfc4e5b3c557d465
4
- data.tar.gz: 96ce94335d5d153dd4a2a193a8d94b34bb1bbdbd
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YTY2MWMzY2RmNDNlNWY5YjYzZThmZmMyMzQ4ZjAyOWRhYTkzZjZkZg==
5
+ data.tar.gz: !binary |-
6
+ YWM3N2UxNDFhNmIxNzYwOWYxMDcxZDEyMDYxNDU5MGFjYjU1NWFlOA==
5
7
  SHA512:
6
- metadata.gz: d367eebc55c005193950dfdd129f7243685a9fd7ba18ec4bec7bff4b69189141f8cfdf808acf16460ba3572b074cb9eacf0425ec3a41e027a96a6c7c796cbbb3
7
- data.tar.gz: 5ea3a911ae92b0a05acaed16568e985baba94da30e9cbcc9e52a328d2b8dc0873eb4660275d07cefc3e834fc7205fe9f708e9949d7542ab2893f7abb8e3198f0
8
+ metadata.gz: !binary |-
9
+ NTdiNjlmNTlkMmI4ZTY1YTRkNTg3YzUyNmI1MGZlMGY4MWJlNTNkNTIzYjJh
10
+ NmQ2MTU0YmNhNzhmNDliMDAwMzM2ZGJiYWNmZDk0NjcxYjgwNTNmNWZlNWQ3
11
+ YjgzYTI5MTgzY2MxYWFiNDc4Y2JkNmIzNGI0OTU5MzMzMTE0MjY=
12
+ data.tar.gz: !binary |-
13
+ ZjQ2NTdmMDQ3NGJiOTNiOTlhZjRiMDkxMmNjMjhhNGM0NmU2NjMwNWMxMDNk
14
+ NGZlNDg5YzI5YWIxMGFhZmE4YWFjNmE1OWNkYWJjODgxMzU5NjM1MDRhMjVh
15
+ MzA3Y2I4MzE2OTIzM2Q3MWU2YTMyMjlkZWNjZTY0Yjg2NTJjZGM=
data/CHANGELOG.md CHANGED
@@ -3,8 +3,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
- ## [Unreleased][unreleased]
7
- * nothing
6
+ ## [Unreleased]
7
+
8
+ ## [1.0.0] - 2016-05-11
9
+ ### Added
10
+ - Added support for Regular Expression matching
11
+ - Added simple response time metric
12
+ - Added dnssec validation --validate
13
+ - Unlocked the dnsruby dependency to allow upgrades
14
+ - Support for Ruby 2.3
15
+
16
+ ### Removed
17
+ - Support for Ruby 1.9.3
18
+
19
+ ### Changed
20
+ - Upgrade to rubocop 0.40 and cleanup
8
21
 
9
22
  ## [0.0.6] - 2015-09-28
10
23
  ### Changed
@@ -23,9 +36,16 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
23
36
  - updated sensu-plugin gem to 1.2.0
24
37
 
25
38
  ## [0.0.3] - 2015-06-02
26
-
27
39
  ### Fixed
28
40
  - added binstubs
29
41
 
30
42
  ### Changed
31
43
  - removed cruft from /lib
44
+
45
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/1.0.0...HEAD
46
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/0.0.6...1.0.0
47
+ [0.0.6]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/0.0.5...0.0.6
48
+ [0.0.5]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/0.0.4...0.0.5
49
+ [0.0.4]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/0.0.3...0.0.4
50
+ [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/0.0.2...0.0.3
51
+ [0.0.2]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/0.0.1...0.0.2
data/README.md CHANGED
@@ -1,16 +1,16 @@
1
1
  ## Sensu-Plugins-dns
2
2
 
3
- [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-dns.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-dns)
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-dns.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-dns)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-dns.svg)](http://badge.fury.io/rb/sensu-plugins-dns)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dns/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dns)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dns/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dns)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-dns.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-dns)
8
- [ ![Codeship Status for sensu-plugins/sensu-plugins-dns](https://codeship.com/projects/2f39b7d0-d5af-0132-5eda-2a31c2fb7a04/status?branch=master)](https://codeship.com/projects/78143)
9
8
 
10
9
  ## Functionality
11
10
 
12
11
  ## Files
13
12
  * bin/check-dns.rb
13
+ * bin/metrics-dns.rb
14
14
 
15
15
  ## Usage
16
16
 
@@ -19,3 +19,4 @@
19
19
  [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
20
20
 
21
21
  ## Notes
22
+
data/bin/check-dns.rb CHANGED
@@ -56,6 +56,11 @@ class DNS < Sensu::Plugin::Check::CLI
56
56
  short: '-r RESULT',
57
57
  long: '--result RESULT'
58
58
 
59
+ option :regex,
60
+ description: 'Compare results to a regular expression',
61
+ short: '-R REGEX',
62
+ long: '--regex-match REGEX'
63
+
59
64
  option :warn_only,
60
65
  description: 'Warn instead of critical on failure',
61
66
  short: '-w',
@@ -67,45 +72,73 @@ class DNS < Sensu::Plugin::Check::CLI
67
72
  long: '--debug',
68
73
  boolean: true
69
74
 
75
+ option :validate,
76
+ description: 'Validate dnssec responses',
77
+ short: '-v',
78
+ long: '--validate',
79
+ boolean: true
80
+
70
81
  def resolve_domain
71
82
  resolv = config[:server].nil? ? Dnsruby::Resolver.new : Dnsruby::Resolver.new(nameserver: [config[:server]])
72
-
83
+ resolv.do_validation = true if config[:validate]
73
84
  entries = resolv.query(config[:domain], config[:type])
74
-
75
85
  puts "Entries: #{entries}" if config[:debug]
76
86
 
77
87
  entries
78
88
  end
79
89
 
90
+ def check_against_regex(entries, regex)
91
+ # produce an Array of entry strings
92
+ b = if entries.answer.count > 1
93
+ entries.answer.rrsets(config[:type].to_s).map(&:to_s)
94
+ else
95
+ [entries.answer.first.to_s]
96
+ end
97
+ b.each do |answer|
98
+ if answer.match(regex)
99
+ ok "Resolved #{config[:domain]} #{config[:type]} matched #{regex}"
100
+ end
101
+ end # b.each()
102
+ critical "Resolved #{config[:domain]} #{config[:type]} did not match #{regex}"
103
+ end
104
+
80
105
  def run
81
106
  unknown 'No domain specified' if config[:domain].nil?
82
107
 
83
108
  begin
84
109
  entries = resolve_domain
85
- rescue Dnsruby::NXDomain
86
- output = "Could not resolve #{config[:domain]} #{config[:type]} record"
87
- critical(output)
88
- return
89
- rescue => e
90
- output = "Couldn not resolve #{config[:domain]}: #{e}"
91
- config[:warn_only] ? warning(output) : critical(output)
92
- return
110
+ rescue Dnsruby::NXDomain
111
+ output = "Could not resolve #{config[:domain]} #{config[:type]} record"
112
+ critical(output)
113
+ return
114
+ rescue => e
115
+ output = "Couldn not resolve #{config[:domain]}: #{e}"
116
+ config[:warn_only] ? warning(output) : critical(output)
117
+ return
93
118
  end
94
- puts entries.answer if config[:debug]
119
+ puts entries.answer if config[:debug]
95
120
  if entries.answer.length.zero?
96
121
  output = "Could not resolve #{config[:domain]} #{config[:type]} record"
97
122
  config[:warn_only] ? warning(output) : critical(output)
98
123
  elsif config[:result]
99
- if entries.answer.count > 1
100
- b = entries.answer.rrsets("#{config[:type]}").to_s
101
- else
102
- b = entries.answer.first.to_s
103
- end
104
- if b.include?(config[:result])
105
- ok "Resolved #{config[:domain]} #{config[:type]} included #{config[:result]}"
124
+ b = if entries.answer.count > 1
125
+ entries.answer.rrsets(config[:type].to_s).to_s
126
+ else
127
+ entries.answer.first.to_s
128
+ end
129
+ if b.include?(config[:result])
130
+ ok "Resolved #{entries.security_level} #{config[:domain]} #{config[:type]} included #{config[:result]}"
106
131
  else
107
132
  critical "Resolved #{config[:domain]} #{config[:type]} did not include #{config[:result]}"
108
133
  end
134
+ elsif config[:regex]
135
+ check_against_regex(entries, Regexp.new(config[:regex]))
136
+
137
+ elsif config[:validate]
138
+ if entries.security_level != 'SECURE'
139
+ critical "Resolved #{entries.security_level} #{config[:domain]} #{config[:type]}"
140
+ end
141
+ ok "Resolved #{entries.security_level} #{config[:domain]} #{config[:type]}"
109
142
  else
110
143
  ok "Resolved #{config[:domain]} #{config[:type]}"
111
144
  end
@@ -0,0 +1,73 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # metrics-dns
4
+ #
5
+ # DESCRIPTION:
6
+ # This plugin gathers some simple DNS
7
+ # statistics, such as the amount of time taken
8
+ # to resolve a name (response time).
9
+ #
10
+ # OUTPUT:
11
+ # metric data
12
+ #
13
+ # PLATFORMS:
14
+ # Linux, BSD
15
+ #
16
+ # DEPENDENCIES:
17
+ # gem: sensu-plugin
18
+ # gem: dnsruby
19
+ #
20
+ # USAGE:
21
+ #
22
+ # LICENSE:
23
+ # Released under the same terms as Sensu (the MIT license); see LICENSE
24
+ # for details.
25
+ #
26
+ require 'sensu-plugin/metric/cli'
27
+ require 'dnsruby'
28
+ require 'benchmark'
29
+
30
+ class DNSGraphite < Sensu::Plugin::Metric::CLI::Graphite
31
+ option :domain,
32
+ description: 'Domain to resolve (or ip if type PTR)',
33
+ short: '-d DOMAIN',
34
+ long: '--domain DOMAIN'
35
+
36
+ option :type,
37
+ description: 'Record type to resolve (A, AAAA, TXT, etc) use PTR for reverse lookup',
38
+ short: '-t RECORD',
39
+ long: '--type RECORD',
40
+ default: 'A'
41
+
42
+ option :server,
43
+ description: 'Server to use for resolution',
44
+ short: '-s SERVER',
45
+ long: '--server SERVER'
46
+
47
+ option :scheme,
48
+ description: 'Metric naming scheme, text to prepend to metric',
49
+ short: '-S SCHEME',
50
+ long: '--scheme SCHEME',
51
+ default: "#{Socket.gethostname}.dns"
52
+
53
+ def run
54
+ unknown 'No domain specified' if config[:domain].nil?
55
+
56
+ begin
57
+ resolver = config[:server].nil? ? Dnsruby::Resolver.new : Dnsruby::Resolver.new(nameserver: [config[:server]])
58
+ result = Benchmark.realtime { resolver.query(config[:domain], config[:type]) }
59
+
60
+ key_name = config[:domain].to_s.tr('.', '_')
61
+
62
+ # Response Time stat
63
+ output "#{config[:scheme]}.#{config[:type]}.#{key_name}.response_time", result.to_f.round(8)
64
+ rescue Dnsruby::NXDomain
65
+ critical "Could not resolve #{config[:domain]} #{config[:type]} record"
66
+ rescue => e
67
+ unknown e
68
+ end
69
+
70
+ # and exit 'ok'
71
+ ok
72
+ end
73
+ end
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsDNS
2
2
  module Version
3
- MAJOR = 0
3
+ MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 6
5
+ PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,197 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
- am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
16
- CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
18
- CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
19
- zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
20
- qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
21
- k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
22
- oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
23
- 0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
- HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
25
- QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
26
- MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
27
- rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
28
- UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
29
- JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
30
- 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
- HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2015-10-01 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2016-05-11 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: sensu-plugin
37
15
  requirement: !ruby/object:Gem::Requirement
38
16
  requirements:
39
- - - '='
17
+ - - ~>
40
18
  - !ruby/object:Gem::Version
41
- version: 1.2.0
19
+ version: '1.2'
42
20
  type: :runtime
43
21
  prerelease: false
44
22
  version_requirements: !ruby/object:Gem::Requirement
45
23
  requirements:
46
- - - '='
24
+ - - ~>
47
25
  - !ruby/object:Gem::Version
48
- version: 1.2.0
26
+ version: '1.2'
49
27
  - !ruby/object:Gem::Dependency
50
28
  name: dnsruby
51
29
  requirement: !ruby/object:Gem::Requirement
52
30
  requirements:
53
- - - '='
31
+ - - ~>
54
32
  - !ruby/object:Gem::Version
55
- version: 1.58.0
33
+ version: '1.59'
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: 1.59.2
56
37
  type: :runtime
57
38
  prerelease: false
58
39
  version_requirements: !ruby/object:Gem::Requirement
59
40
  requirements:
60
- - - '='
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '1.59'
44
+ - - ! '>='
61
45
  - !ruby/object:Gem::Version
62
- version: 1.58.0
46
+ version: 1.59.2
63
47
  - !ruby/object:Gem::Dependency
64
48
  name: bundler
65
49
  requirement: !ruby/object:Gem::Requirement
66
50
  requirements:
67
- - - "~>"
51
+ - - ~>
68
52
  - !ruby/object:Gem::Version
69
53
  version: '1.7'
70
54
  type: :development
71
55
  prerelease: false
72
56
  version_requirements: !ruby/object:Gem::Requirement
73
57
  requirements:
74
- - - "~>"
58
+ - - ~>
75
59
  - !ruby/object:Gem::Version
76
60
  version: '1.7'
77
61
  - !ruby/object:Gem::Dependency
78
62
  name: codeclimate-test-reporter
79
63
  requirement: !ruby/object:Gem::Requirement
80
64
  requirements:
81
- - - "~>"
65
+ - - ~>
82
66
  - !ruby/object:Gem::Version
83
67
  version: '0.4'
84
68
  type: :development
85
69
  prerelease: false
86
70
  version_requirements: !ruby/object:Gem::Requirement
87
71
  requirements:
88
- - - "~>"
72
+ - - ~>
89
73
  - !ruby/object:Gem::Version
90
74
  version: '0.4'
91
75
  - !ruby/object:Gem::Dependency
92
76
  name: github-markup
93
77
  requirement: !ruby/object:Gem::Requirement
94
78
  requirements:
95
- - - "~>"
79
+ - - ~>
96
80
  - !ruby/object:Gem::Version
97
81
  version: '1.3'
98
82
  type: :development
99
83
  prerelease: false
100
84
  version_requirements: !ruby/object:Gem::Requirement
101
85
  requirements:
102
- - - "~>"
86
+ - - ~>
103
87
  - !ruby/object:Gem::Version
104
88
  version: '1.3'
105
89
  - !ruby/object:Gem::Dependency
106
90
  name: pry
107
91
  requirement: !ruby/object:Gem::Requirement
108
92
  requirements:
109
- - - "~>"
93
+ - - ~>
110
94
  - !ruby/object:Gem::Version
111
95
  version: '0.10'
112
96
  type: :development
113
97
  prerelease: false
114
98
  version_requirements: !ruby/object:Gem::Requirement
115
99
  requirements:
116
- - - "~>"
100
+ - - ~>
117
101
  - !ruby/object:Gem::Version
118
102
  version: '0.10'
119
103
  - !ruby/object:Gem::Dependency
120
104
  name: rake
121
105
  requirement: !ruby/object:Gem::Requirement
122
106
  requirements:
123
- - - "~>"
107
+ - - ~>
124
108
  - !ruby/object:Gem::Version
125
109
  version: '10.0'
126
110
  type: :development
127
111
  prerelease: false
128
112
  version_requirements: !ruby/object:Gem::Requirement
129
113
  requirements:
130
- - - "~>"
114
+ - - ~>
131
115
  - !ruby/object:Gem::Version
132
116
  version: '10.0'
133
117
  - !ruby/object:Gem::Dependency
134
118
  name: redcarpet
135
119
  requirement: !ruby/object:Gem::Requirement
136
120
  requirements:
137
- - - "~>"
121
+ - - ~>
138
122
  - !ruby/object:Gem::Version
139
123
  version: '3.2'
140
124
  type: :development
141
125
  prerelease: false
142
126
  version_requirements: !ruby/object:Gem::Requirement
143
127
  requirements:
144
- - - "~>"
128
+ - - ~>
145
129
  - !ruby/object:Gem::Version
146
130
  version: '3.2'
147
131
  - !ruby/object:Gem::Dependency
148
132
  name: rspec
149
133
  requirement: !ruby/object:Gem::Requirement
150
134
  requirements:
151
- - - "~>"
135
+ - - ~>
152
136
  - !ruby/object:Gem::Version
153
137
  version: '3.1'
154
138
  type: :development
155
139
  prerelease: false
156
140
  version_requirements: !ruby/object:Gem::Requirement
157
141
  requirements:
158
- - - "~>"
142
+ - - ~>
159
143
  - !ruby/object:Gem::Version
160
144
  version: '3.1'
161
145
  - !ruby/object:Gem::Dependency
162
146
  name: rubocop
163
147
  requirement: !ruby/object:Gem::Requirement
164
148
  requirements:
165
- - - '='
149
+ - - ~>
166
150
  - !ruby/object:Gem::Version
167
- version: 0.32.1
151
+ version: 0.40.0
168
152
  type: :development
169
153
  prerelease: false
170
154
  version_requirements: !ruby/object:Gem::Requirement
171
155
  requirements:
172
- - - '='
156
+ - - ~>
173
157
  - !ruby/object:Gem::Version
174
- version: 0.32.1
158
+ version: 0.40.0
175
159
  - !ruby/object:Gem::Dependency
176
160
  name: yard
177
161
  requirement: !ruby/object:Gem::Requirement
178
162
  requirements:
179
- - - "~>"
163
+ - - ~>
180
164
  - !ruby/object:Gem::Version
181
165
  version: '0.8'
182
166
  type: :development
183
167
  prerelease: false
184
168
  version_requirements: !ruby/object:Gem::Requirement
185
169
  requirements:
186
- - - "~>"
170
+ - - ~>
187
171
  - !ruby/object:Gem::Version
188
172
  version: '0.8'
189
- description: |-
190
- This plugin provides native DNS instrumentation
191
- for monitoring, including: record resolution
192
- email: "<sensu-users@googlegroups.com>"
173
+ description: ! "This plugin provides native DNS instrumentation\n for
174
+ monitoring, including: record resolution"
175
+ email: <sensu-users@googlegroups.com>
193
176
  executables:
194
177
  - check-dns.rb
178
+ - metrics-dns.rb
195
179
  extensions: []
196
180
  extra_rdoc_files: []
197
181
  files:
@@ -199,13 +183,14 @@ files:
199
183
  - LICENSE
200
184
  - README.md
201
185
  - bin/check-dns.rb
186
+ - bin/metrics-dns.rb
202
187
  - lib/sensu-plugins-dns.rb
203
188
  - lib/sensu-plugins-dns/version.rb
204
189
  homepage: https://github.com/sensu-plugins/sensu-plugins-dns
205
190
  licenses:
206
191
  - MIT
207
192
  metadata:
208
- maintainer: "@mattyjones"
193
+ maintainer: sensu-plugin
209
194
  development_status: active
210
195
  production_status: unstable - testing recommended
211
196
  release_draft: 'false'
@@ -217,17 +202,17 @@ require_paths:
217
202
  - lib
218
203
  required_ruby_version: !ruby/object:Gem::Requirement
219
204
  requirements:
220
- - - ">="
205
+ - - ! '>='
221
206
  - !ruby/object:Gem::Version
222
- version: 1.9.3
207
+ version: 2.0.0
223
208
  required_rubygems_version: !ruby/object:Gem::Requirement
224
209
  requirements:
225
- - - ">="
210
+ - - ! '>='
226
211
  - !ruby/object:Gem::Version
227
212
  version: '0'
228
213
  requirements: []
229
214
  rubyforge_project:
230
- rubygems_version: 2.4.8
215
+ rubygems_version: 2.4.5
231
216
  signing_key:
232
217
  specification_version: 4
233
218
  summary: Sensu plugins for dns
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- VJ�� 9�y�Uq ����@V��B�ӳ��A���f���<h3�W��$L����d
2
-