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 +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/check-smart.rb +2 -2
- data/lib/sensu-plugins-disk-checks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47180d818663bda07effe9c054ce8f12a6747b90
|
4
|
+
data.tar.gz: acbfefa98bbe28859ef2465a0178d3da1103eaa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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 #{
|
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 #{
|
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
|
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.
|
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-
|
11
|
+
date: 2017-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|