sensu-plugins-disk-checks 2.4.0 → 2.4.1

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
  SHA1:
3
- metadata.gz: 5d69846d3e98c17975dccd7363228e869ac3b734
4
- data.tar.gz: ddcb9c5ee9e02cca40778d1203a5544304a0dc52
3
+ metadata.gz: 47180d818663bda07effe9c054ce8f12a6747b90
4
+ data.tar.gz: acbfefa98bbe28859ef2465a0178d3da1103eaa2
5
5
  SHA512:
6
- metadata.gz: 8313f14f4c20ca876ae5905cec5cef2fea5026c35d2c16f5bc27b2274005e9dc0f601b41818724a581b50d610e5b0484cfcb3e53d351bc5c6140ad01dfcd18cf
7
- data.tar.gz: 293372a87d24a68f3e1d7f257ced4ecafd1657c6edd5f18e6afd6761112685e2a22be9fb157b0604d7df71814d305bd9e81a326d03b0a51619cf91738beefe18
6
+ metadata.gz: 97b32a94e866f676255582fb2eba535c4640c6386ef407a43c0c6c1e41c970c3b64577973cb52dca13f41b28e02753c9f6cb30e4761972106ff9dca148ead29f
7
+ data.tar.gz: 38beaa3d2b9445a5da098ba520f9eba36f82cb2ed85323a9253f575133089409b0cdf18fe44da3fb38218bc7e9468585ef3aa9af12934c561cb567b2ff3251f0
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.4.1] - 2017-08-08
9
+ ### Fixed
10
+ - check-smart.rb: Fixed 'override' being ignored (@sovaa)
11
+
8
12
  ## [2.4.0] - 2017-07-20
9
13
  - check-smart.rb: Add path overrides via smart.json (@ArakniD)
10
14
  - check-smart-status.rb: Add path overrides via smart.json (@ArakniD)
@@ -137,7 +141,8 @@ https://mathias-kettner.de/checkmk_filesystems.html
137
141
  ### Added
138
142
  - initial release
139
143
 
140
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.4.0...HEAD
144
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.4.1...HEAD
145
+ [1.4.1]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.4.0...2.4.1
141
146
  [2.4.0]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.3.0...2.4.0
142
147
  [2.3.0]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.2.0...2.3.0
143
148
  [2.2.0]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.1.0...2.2.0
data/bin/check-smart.rb CHANGED
@@ -77,7 +77,7 @@ class Disk
77
77
  # Check for SMART cspability
78
78
  #
79
79
  def check_smart_capability!
80
- output = `sudo #{@smart_binary} -i #{@device_path}`
80
+ output = `sudo #{@smart_binary} -i #{device_path}`
81
81
  @smart_available = !output.scan(/SMART support is:\s+Available/).empty?
82
82
  @smart_enabled = !output.scan(/SMART support is:\s+Enabled/).empty?
83
83
  @capability_output = output
@@ -86,7 +86,7 @@ class Disk
86
86
  # Check the SMART health
87
87
  #
88
88
  def check_health!
89
- output = `sudo #{@smart_binary} -H #{@device_path}`
89
+ output = `sudo #{@smart_binary} -H #{device_path}`
90
90
  @smart_healthy = !output.scan(/PASSED|OK$/).empty?
91
91
  @health_output = output
92
92
  end
@@ -2,7 +2,7 @@ module SensuPluginsDiskChecks
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 4
5
- PATCH = 0
5
+ PATCH = 1
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: 2.4.0
4
+ version: 2.4.1
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: 2017-07-21 00:00:00.000000000 Z
11
+ date: 2017-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin