sensu-plugins-disk-checks 3.1.1 → 4.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,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 32daf4e8adbd5751ed21049e280eb0499cfa7f88f3bf4bc8a01df75b755b9e6a
4
- data.tar.gz: e8d25353ec301b8d4ba62327d9ad188e084a475460bacdcdfaa1f67c27d4da2c
2
+ SHA1:
3
+ metadata.gz: c3de60683bbfe869b26629fa1d01996f8179a182
4
+ data.tar.gz: 49f5566f68965b6a5e22f39ba54d438cb960dcac
5
5
  SHA512:
6
- metadata.gz: fd3fe5f47a232a38bc74d07f106f4e783821add812d90b233549887615ca1a261c2561b9016cb3e56c28eb6432194713b2440b59b58bd579a6291de10e172301
7
- data.tar.gz: 9c1a8eb2bbf5e7e8b263dd51c4e652dcc5d6800885084cc47b5c24543bdfbbfd7563a531ce480107891ccaee79789b174dd11acb725992f3eb02ed8bf0687df5
6
+ metadata.gz: 03b828f00ee19de0798774e97b98d51b02bf7d606611bcb478d0a08a064ed3f2d56fba3dcdb23885bed5934b3dbd06c1fa9e9c4b95d6a03020211cccc8657d11
7
+ data.tar.gz: 5c10c3e0c00764c8753579354d27433139a8a39f3a7261891ce72ee665c4f842b4c749dbea73b6a48d9e4a6fed5a61d686d1b50c8267f68d51979a732c1f2a92
data/CHANGELOG.md CHANGED
@@ -5,7 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
- ## [3.1.0] - 2018-01-07
8
+ ### Breaking Changes
9
+ - check-smart.rb: fixing a `undefined` error by renaming `no-smart-capable-disks` to `--zero-smart-capable_disks` as the parser sees any `--no-` argument and attempts to negate it which a `(True|False)Class` can not be cast to a symbol (@bdeluca)
10
+
11
+ ## [3.1.1] - 2018-01-07
9
12
  ### Fixed
10
13
  - metrics-disk-capacity.rb: incorrect translation of devicenames by switching to `sub`. This differs by replacing only the first occurrence of `/dev/` as opposed to all occurrences (@nmollerup)
11
14
 
@@ -187,7 +190,8 @@ https://mathias-kettner.de/checkmk_filesystems.html
187
190
  ### Added
188
191
  - initial release
189
192
 
190
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/3.1.1...HEAD
193
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/4.0.0...HEAD
194
+ [4.0.0]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/3.1.1...4.0.0
191
195
  [3.1.1]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/3.1.0...3.1.1
192
196
  [3.1.0]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/3.0.1...3.1.0
193
197
  [3.0.1]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/3.0.0...3.0.1
data/bin/check-smart.rb CHANGED
@@ -112,7 +112,7 @@ class CheckSMART < Sensu::Plugin::Check::CLI
112
112
  in: %i[unknown ok warn critical]
113
113
 
114
114
  option :no_smart_capable_disks,
115
- long: '--no-smart-capable-disks EXIT_CODE',
115
+ long: '--zero-smart-capable-disks EXIT_CODE',
116
116
  description: 'Exit code when there are no SMART capable disks',
117
117
  proc: proc(&:to_sym),
118
118
  default: :unknown,
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsDiskChecks
2
2
  module Version
3
- MAJOR = 3
4
- MINOR = 1
5
- PATCH = 1
3
+ MAJOR = 4
4
+ MINOR = 0
5
+ PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-disk-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 4.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: 2019-01-08 00:00:00.000000000 Z
11
+ date: 2019-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -170,14 +170,14 @@ description: |-
170
170
  health, usage, and various metrics.
171
171
  email: "<sensu-users@googlegroups.com>"
172
172
  executables:
173
- - check-fstab-mounts.rb
174
- - metrics-disk-usage.rb
173
+ - metrics-disk.rb
175
174
  - check-smart.rb
176
- - check-smart-tests.rb
177
175
  - check-disk-usage.rb
178
- - check-smart-status.rb
179
- - metrics-disk.rb
180
176
  - metrics-disk-capacity.rb
177
+ - check-smart-status.rb
178
+ - check-smart-tests.rb
179
+ - check-fstab-mounts.rb
180
+ - metrics-disk-usage.rb
181
181
  extensions: []
182
182
  extra_rdoc_files: []
183
183
  files:
@@ -219,7 +219,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
- rubygems_version: 3.0.2
222
+ rubyforge_project:
223
+ rubygems_version: 2.6.11
223
224
  signing_key:
224
225
  specification_version: 4
225
226
  summary: Sensu plugins for disk checks