sensu-plugins-windows 2.3.0 → 2.4.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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +2 -0
- data/bin/check-windows-disk.rb +6 -0
- data/lib/sensu-plugins-windows/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 332df61e90523efd8eae7028b67eb1ac24cb2a9967bf4cf91cb0b66217b77a9c
|
|
4
|
+
data.tar.gz: 4072951c9b8d06b46594caa7cfad2963141a6c65d16d90a2b907e47993c06574
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c22e88ad3d4787160b46873757f409d5de889c0df6d52a642875e3a488b130444631e9d097b11e621470ef329035e0c1ee4b43f207f3a5b6ee99b555e5a2763
|
|
7
|
+
data.tar.gz: 559b9a105815e6cc2a3936def45d36618556bba60c482eda82c77b1c70745a751ece635b018b667004b7c28a034a09d30b91d5a57cd7044f044911a9a2fda5c0
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [2.4.0] - 2017-12-08
|
|
10
|
+
### Added
|
|
11
|
+
- minimal `appveyor.yml` (@majormoses)
|
|
12
|
+
- badges for `slack` and `appveyor` (@majormoses)
|
|
13
|
+
|
|
9
14
|
## [2.3.0] - 2017-11-12
|
|
10
15
|
### Added
|
|
11
16
|
- new check: `powershell/check-multi-template/check-processes.ps1` (@absolutejam)
|
|
@@ -134,7 +139,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
|
134
139
|
### Added
|
|
135
140
|
- Initial release
|
|
136
141
|
|
|
137
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.
|
|
142
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.4.0...HEAD
|
|
143
|
+
[2.4.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.3.0...2.4.0
|
|
138
144
|
[2.3.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.2.1...2.3.0
|
|
139
145
|
[2.2.1]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.2.0...2.2.1
|
|
140
146
|
[2.2.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.1.0...2.2.0
|
data/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-windows)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-windows)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-windows)
|
|
8
|
+
[](https://ci.appveyor.com/project/majormoses/sensu-plugins-windows/branch/master)
|
|
9
|
+
[](https://slack.sensu.io/badge)
|
|
8
10
|
|
|
9
11
|
## Functionality
|
|
10
12
|
|
data/bin/check-windows-disk.rb
CHANGED
|
@@ -32,6 +32,11 @@ class CheckDisk < Sensu::Plugin::Check::CLI
|
|
|
32
32
|
short: '-t TYPE',
|
|
33
33
|
proc: proc { |a| a.split(',') }
|
|
34
34
|
|
|
35
|
+
option :mount_points,
|
|
36
|
+
short: '-m MNT',
|
|
37
|
+
long: '--mount_points',
|
|
38
|
+
proc: proc { |a| a.split(',') }
|
|
39
|
+
|
|
35
40
|
option :ignoretype,
|
|
36
41
|
short: '-x TYPE',
|
|
37
42
|
proc: proc { |a| a.split(',') }
|
|
@@ -69,6 +74,7 @@ class CheckDisk < Sensu::Plugin::Check::CLI
|
|
|
69
74
|
next if _avail.nil?
|
|
70
75
|
next if line.include?('System Reserved')
|
|
71
76
|
next if line.include?('\Volume')
|
|
77
|
+
next if config[:mount_points] && !config[:mount_points].include?(mnt)
|
|
72
78
|
next if config[:fstype] && !config[:fstype].include?(type)
|
|
73
79
|
next if config[:ignoretype] && config[:ignoretype].include?(type)
|
|
74
80
|
next if config[:ignoremnt] && config[:ignoremnt].include?(mnt)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-windows
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.4.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: 2017-
|
|
11
|
+
date: 2017-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
236
236
|
version: '0'
|
|
237
237
|
requirements: []
|
|
238
238
|
rubyforge_project:
|
|
239
|
-
rubygems_version: 2.7.
|
|
239
|
+
rubygems_version: 2.7.3
|
|
240
240
|
signing_key:
|
|
241
241
|
specification_version: 4
|
|
242
242
|
summary: Sensu plugins for Windows
|