sensu-plugins-windows 2.9.0 → 2.9.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 +7 -1
- data/bin/check-windows-disk.rb +1 -1
- data/lib/sensu-plugins-windows/version.rb +1 -1
- metadata +15 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2bfbb56ce43e0bf6b112818c767c74c1c3a8d68dfca72e7f7dd258e59353919
|
4
|
+
data.tar.gz: dc1174d59888c3bcf4e2a4fca1b71508a52f81b3bc5c52eb9cbcc3974d07769d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7a3864e5cba534c79db66510f24338c492d34051e272d2f1115b0bc488c14c84d6a9cc5b89f1e33321c82b3e20196a657d80a8eaf3c97d26bfe72d5b81b780
|
7
|
+
data.tar.gz: 01d70f434a23454f4575ec99ae94351a2b4d3c354d12b3ae4704b08bf23f7687df3436662e514af20aa5c14de3a6b84c592e32b413133e0a5b4a9d002d281543
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ This CHANGELOG follows the format listed at [Our CHANGELOG Guidelines ](https://
|
|
5
5
|
Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
|
+
|
9
|
+
## [2.9.1] - 2019-02-17
|
10
|
+
### Fixed
|
11
|
+
- check-windows-disk.rb: use the full path for CSV file path due to a bug in `wmic` (@jasiek191)
|
12
|
+
|
8
13
|
## [2.9.0] - 2018-08-24
|
9
14
|
### Changed
|
10
15
|
- updated check: `powershell/check-windows-disk-writeable.ps1` now using CIM instead of WMI for large performance gain (@csabo)
|
@@ -185,7 +190,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
185
190
|
### Added
|
186
191
|
- Initial release
|
187
192
|
|
188
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.9.
|
193
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.9.1...HEAD
|
194
|
+
[2.9.1]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.9.0...2.9.1
|
189
195
|
[2.9.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.8.1...2.9.0
|
190
196
|
[2.8.1]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.8.0...2.8.1
|
191
197
|
[2.8.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.7.0...2.8.0
|
data/bin/check-windows-disk.rb
CHANGED
@@ -66,7 +66,7 @@ class CheckDisk < Sensu::Plugin::Check::CLI
|
|
66
66
|
end
|
67
67
|
|
68
68
|
def read_wmic
|
69
|
-
`wmic volume where DriveType=3 list brief /format:csv`.split("\n").drop(1).each do |line|
|
69
|
+
`wmic volume where DriveType=3 list brief /format:"%WINDIR%\\System32\\wbem\\en-US\\csv"`.split("\n").drop(1).each do |line|
|
70
70
|
begin
|
71
71
|
# #YELLOW
|
72
72
|
_hostname, capacity, type, _fs, _avail, label, mnt = line.split(',') # rubocop:disable Lint/UnderscorePrefixedVariableName
|
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.9.
|
4
|
+
version: 2.9.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:
|
11
|
+
date: 2019-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pry
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '12.3'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '12.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: redcarpet
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,19 +153,19 @@ dependencies:
|
|
153
153
|
description: Sensu plugins for Windows
|
154
154
|
email: "<sensu-users@googlegroups.com>"
|
155
155
|
executables:
|
156
|
-
-
|
157
|
-
-
|
158
|
-
- check-windows-process.rb
|
156
|
+
- metric-windows-ram-usage.rb
|
157
|
+
- metric-windows-uptime.rb
|
159
158
|
- check-windows-processor-queue-length.rb
|
160
|
-
- check-windows-ram.rb
|
161
|
-
- check-windows-service.rb
|
162
159
|
- metric-windows-cpu-load.rb
|
163
160
|
- metric-windows-disk-usage.rb
|
161
|
+
- check-windows-disk.rb
|
162
|
+
- check-windows-process.rb
|
164
163
|
- metric-windows-network.rb
|
165
|
-
- metric-windows-processor-queue-length.rb
|
166
|
-
- metric-windows-ram-usage.rb
|
167
|
-
- metric-windows-uptime.rb
|
168
164
|
- powershell_helper.rb
|
165
|
+
- check-windows-service.rb
|
166
|
+
- check-windows-ram.rb
|
167
|
+
- check-windows-cpu-load.rb
|
168
|
+
- metric-windows-processor-queue-length.rb
|
169
169
|
extensions: []
|
170
170
|
extra_rdoc_files: []
|
171
171
|
files:
|
@@ -240,8 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: '0'
|
242
242
|
requirements: []
|
243
|
-
|
244
|
-
rubygems_version: 2.7.7
|
243
|
+
rubygems_version: 3.0.2
|
245
244
|
signing_key:
|
246
245
|
specification_version: 4
|
247
246
|
summary: Sensu plugins for Windows
|