sensu-plugins-windows 2.2.0 → 2.2.1
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 +12 -2
- data/bin/check-windows-service.rb +1 -1
- data/lib/sensu-plugins-windows/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb4db0eaf8556a99517db61e0d39f4436095cfb6
|
|
4
|
+
data.tar.gz: aab24efe6b3cd1c0e6a0e6b513bde7d2d78aeec5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96c01b64874dd084b3b8f337976b09857f0a819224bf6f9fa4751bb0a52ffb71c11dd0453c9f41645d3b5a3b57649b9043fc4e0afbe48734ac66d2494f47c009
|
|
7
|
+
data.tar.gz: e3f6e9f4d11aacafc1b25b78bfd25b99d4da1e251535177f5fff833b4fdc55eb122359579e434f47c3745f88d066630bc27f246f290f037b52c5ff564c24411a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
|
4
|
-
This CHANGELOG follows the format listed at [
|
|
4
|
+
This CHANGELOG follows the format listed at [Our CHANGELOG Guidelines ](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md).
|
|
5
|
+
Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
5
6
|
|
|
6
7
|
## [Unreleased]
|
|
7
8
|
|
|
9
|
+
## [2.2.1] - 2017-09-25
|
|
10
|
+
### Changed
|
|
11
|
+
- update changelog guidelines location (@majormoses)
|
|
12
|
+
### Fixed
|
|
13
|
+
- `check-windows-service.rb`: allow service names to have spaces in them (@bodgit)
|
|
14
|
+
|
|
8
15
|
## [2.2.0] - 2017-09-08
|
|
9
16
|
### Fixed
|
|
10
17
|
- added multi language support to all the powershell scripts (@Seji64)
|
|
11
18
|
- powershell/metric-windows-network.ps1: handle interfaces with spaces in their name (@Seji64)
|
|
19
|
+
- Calculate correct Unix Timestamp (@Seji64)
|
|
12
20
|
|
|
13
21
|
### Added
|
|
14
22
|
- `powershell/perfhelper.ps1`: added standard sensu header (@Seji64)
|
|
15
23
|
- added option to enable fdqn in metric path (@Seji64)
|
|
16
24
|
- `powershell/metric-windows-disk.ps1` new metric script for disk IO stats (@Seji64)
|
|
25
|
+
- `powershell/metric-windows-system.ps1` new metric script for system related stats (@Seji64)
|
|
17
26
|
|
|
18
27
|
|
|
19
28
|
### [2.1.0] - 2017-08-26
|
|
@@ -115,7 +124,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
115
124
|
### Added
|
|
116
125
|
- Initial release
|
|
117
126
|
|
|
118
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.2.
|
|
127
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.2.1...HEAD
|
|
128
|
+
[2.2.1]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.2.0...2.2.1
|
|
119
129
|
[2.2.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.1.0...2.2.0
|
|
120
130
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/2.0.0...2.1.0
|
|
121
131
|
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-Windows/compare/1.0.0...2.0.0
|
|
@@ -33,7 +33,7 @@ class CheckWinService < Sensu::Plugin::Check::CLI
|
|
|
33
33
|
short: '-s SERVICE'
|
|
34
34
|
|
|
35
35
|
def run
|
|
36
|
-
temp = system('tasklist /svc|findstr /i ' + config[:service])
|
|
36
|
+
temp = system('tasklist /svc|findstr /i /c:"' + config[:service] + '"')
|
|
37
37
|
if temp == false
|
|
38
38
|
message config[:service] + ' is not running'
|
|
39
39
|
critical
|
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.2.
|
|
4
|
+
version: 2.2.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-09-
|
|
11
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -154,11 +154,11 @@ description: Sensu plugins for Windows
|
|
|
154
154
|
email: "<sensu-users@googlegroups.com>"
|
|
155
155
|
executables:
|
|
156
156
|
- check-windows-disk.rb
|
|
157
|
+
- check-windows-service.rb
|
|
157
158
|
- check-windows-cpu-load.rb
|
|
158
159
|
- check-windows-process.rb
|
|
159
160
|
- check-windows-processor-queue-length.rb
|
|
160
161
|
- check-windows-ram.rb
|
|
161
|
-
- check-windows-service.rb
|
|
162
162
|
- metric-windows-cpu-load.rb
|
|
163
163
|
- metric-windows-disk-usage.rb
|
|
164
164
|
- metric-windows-network.rb
|