sensu-plugins-windows 2.3.0 → 2.4.0

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
  SHA256:
3
- metadata.gz: e2c09a015df087022d158773dc055bc71862dac29c00f1d99d4982b980289b6c
4
- data.tar.gz: 7c39068ecf25e4123c27741af9addff0ceac3c121a26474b250f1e2fdbbc3df0
3
+ metadata.gz: 332df61e90523efd8eae7028b67eb1ac24cb2a9967bf4cf91cb0b66217b77a9c
4
+ data.tar.gz: 4072951c9b8d06b46594caa7cfad2963141a6c65d16d90a2b907e47993c06574
5
5
  SHA512:
6
- metadata.gz: 44c6c198d8c0fe28f308983ca9328a0b9de44e773aca7190884c1c5a18fd171f0db214a8f878cffbeaf1e5f346f5ef60dadb439cd41b40dc5711cc9f65a88684
7
- data.tar.gz: 23ad80d6943f331720853e9a1ede22f70ad7bc947abd62925b502f7624d1341a2da56ef95e73d1db291b4af4596c34781a35e1ea3543c84f005d069767fe22f7
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.2.1...HEAD
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
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-windows/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-windows)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-windows/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-windows)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-windows.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-windows)
8
+ [![Appveyor status](https://ci.appveyor.com/api/projects/status/j6cg9tmxs6ivscrd/branch/master?svg=true)](https://ci.appveyor.com/project/majormoses/sensu-plugins-windows/branch/master)
9
+ [![Community Slack](https://slack.sensu.io/badge.svg)](https://slack.sensu.io/badge)
8
10
 
9
11
  ## Functionality
10
12
 
@@ -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)
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsWindows
2
2
  module Version
3
3
  MAJOR = 2
4
- MINOR = 3
4
+ MINOR = 4
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
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.3.0
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-13 00:00:00.000000000 Z
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.2
239
+ rubygems_version: 2.7.3
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: Sensu plugins for Windows