sensu-plugins-disk-checks 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +6 -1
- data/bin/check-disk-usage.rb +6 -1
- data/lib/sensu-plugins-disk-checks/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3dcdf8a494bf31a521ed81f321701776a0787fe4f6904daace173daf3f9189ef
|
4
|
+
data.tar.gz: c6d016ba7250007408f4aacd211f423f2a00d65e3fceaef5fb48793883f5461f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4b25651b43fb6a432bc92a6388307e8ef1f492e187049d86a5461cae608d764b64010d53c6f0fa3886b5667c3edc9769343257640f46a244a6f9cbf9f288945
|
7
|
+
data.tar.gz: f27e711a3201bfe66288a8e5c95e02223c4080706814cf19ef0d6086c7244334d06123dc7d9477da89ebbdaafa65f903eb134a55c2ddfba108ca5a410e259394
|
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.5.1] - 2017-12-05
|
9
|
+
### Fixed
|
10
|
+
- check-disk-usage.rb: now exits unknown instead of critical when retrieving mountpoints fail
|
11
|
+
|
8
12
|
## [2.5.0] - 2017-08-28
|
9
13
|
### Changed
|
10
14
|
- check-smart.rb: The JSON file is now does not need to exist (@ChrisPortman)
|
@@ -156,7 +160,8 @@ https://mathias-kettner.de/checkmk_filesystems.html
|
|
156
160
|
### Added
|
157
161
|
- initial release
|
158
162
|
|
159
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.5.
|
163
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.5.1...HEAD
|
164
|
+
[2.5.1]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.5.0...2.5.1
|
160
165
|
[2.5.0]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.4.2...2.5.0
|
161
166
|
[2.4.2]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.4.1...2.4.2
|
162
167
|
[2.4.1]: https://github.com/sensu-plugins/sensu-plugins-disk-checks/compare/2.4.0...2.4.1
|
data/bin/check-disk-usage.rb
CHANGED
@@ -118,7 +118,12 @@ class CheckDisk < Sensu::Plugin::Check::CLI
|
|
118
118
|
# Get mount data
|
119
119
|
#
|
120
120
|
def fs_mounts
|
121
|
-
|
121
|
+
begin
|
122
|
+
mounts = Filesystem.mounts
|
123
|
+
rescue
|
124
|
+
unknown 'An error occured getting the mount info'
|
125
|
+
end
|
126
|
+
mounts.each do |line|
|
122
127
|
begin
|
123
128
|
next if config[:fstype] && !config[:fstype].include?(line.mount_type)
|
124
129
|
next if config[:ignoretype] && config[:ignoretype].include?(line.mount_type)
|
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.5.
|
4
|
+
version: 2.5.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-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
220
|
version: '0'
|
221
221
|
requirements: []
|
222
222
|
rubyforge_project:
|
223
|
-
rubygems_version: 2.
|
223
|
+
rubygems_version: 2.7.3
|
224
224
|
signing_key:
|
225
225
|
specification_version: 4
|
226
226
|
summary: Sensu plugins for disk checks
|