sensu-plugins-windows 0.0.1.alpha.2 → 0.0.1.alpha.3
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +7 -0
- data/README.md +13 -13
- data/bin/check-windows-cpu-load.rb +1 -1
- data/bin/check-windows-disk.rb +1 -1
- data/bin/check-windows-process.rb +1 -1
- data/bin/check-windows-service.rb +1 -1
- data/bin/extension-wmi-metrics.rb +1 -2
- data/bin/metrics-iis-current-connections.rb +1 -2
- data/bin/metrics-iis-get-requests.rb +1 -2
- data/bin/metrics-windows-cpu-load.rb +1 -2
- data/bin/metrics-windows-disk-usage.rb +1 -2
- data/bin/metrics-windows-ram-usage.rb +1 -2
- data/lib/sensu-plugins-windows.rb +11 -3
- data/lib/sensu-plugins-windows/version.rb +28 -0
- metadata +15 -21
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 456b4499d2e08b5e019ab896313dfdfcfadd90ae
|
4
|
+
data.tar.gz: 23a294e527464fcb7cceec73f4d31cccd915e65e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86cdef0dc28393ca1950e1ccedfcab3ddde54a33b1f06c6684e928cfbd656618a1872a56f4788ca59550f8d37943a629432fd37ea06b40d48c30614a59a67032
|
7
|
+
data.tar.gz: 1d9c17275640843b15e27ed045d5ea6085c60fd9f2c72f60fb8e7be57be8d0ce5e4dbda01ba97ec49503920afb835561fa1c4778f8994316f790f3df9ed9fc7e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -9,17 +9,17 @@
|
|
9
9
|
## Functionality
|
10
10
|
|
11
11
|
## Files
|
12
|
-
* bin/metrics-windows-ram-usage
|
13
|
-
* bin/metrics-windows-cpu-load
|
14
|
-
* bin/metrics-windows-disk-usage
|
15
|
-
* bin/metrics-iis-get-requests
|
16
|
-
* bin/metrics-iis-current-connections
|
17
|
-
* bin/check-windows-service
|
18
|
-
* bin/check-windows-process
|
19
|
-
* bin/extension-wmi-metrics
|
20
|
-
* bin/check-windows-disk
|
21
|
-
* bin/check-windows-cpu-load
|
22
|
-
* bin/check-iis-current-connections
|
12
|
+
* bin/metrics-windows-ram-usage.rb
|
13
|
+
* bin/metrics-windows-cpu-load.rb
|
14
|
+
* bin/metrics-windows-disk-usage.rb
|
15
|
+
* bin/metrics-iis-get-requests.rb
|
16
|
+
* bin/metrics-iis-current-connections.rb
|
17
|
+
* bin/check-windows-service.rb
|
18
|
+
* bin/check-windows-process.rb
|
19
|
+
* bin/extension-wmi-metrics.rb
|
20
|
+
* bin/check-windows-disk.rb
|
21
|
+
* bin/check-windows-cpu-load.rb
|
22
|
+
* bin/check-iis-current-connections.rb
|
23
23
|
|
24
24
|
## Usage
|
25
25
|
|
@@ -48,7 +48,7 @@ Using the Sensu **sensu_gem** LWRP
|
|
48
48
|
```
|
49
49
|
sensu_gem 'sensu-plugins-windows' do
|
50
50
|
options('--prerelease')
|
51
|
-
version '0.0.1.alpha.
|
51
|
+
version '0.0.1.alpha.1'
|
52
52
|
end
|
53
53
|
```
|
54
54
|
|
@@ -56,7 +56,7 @@ Using the Chef **gem_package** resource
|
|
56
56
|
```
|
57
57
|
gem_package 'sensu-plugins-windows' do
|
58
58
|
options('--prerelease')
|
59
|
-
version '0.0.1.alpha.
|
59
|
+
version '0.0.1.alpha.1'
|
60
60
|
end
|
61
61
|
```
|
62
62
|
|
data/bin/check-windows-disk.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
#
|
3
|
-
#
|
3
|
+
# extension-wmi-metrics.rb
|
4
4
|
#
|
5
5
|
# DESCRIPTION:
|
6
6
|
# Collects a variety of system metrics every 10 seconds (by default).
|
@@ -14,7 +14,6 @@
|
|
14
14
|
#
|
15
15
|
# DEPENDENCIES:
|
16
16
|
# gem: sensu-plugin
|
17
|
-
# gem: socket
|
18
17
|
#
|
19
18
|
# USAGE:
|
20
19
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# windows-cpu-load
|
3
|
+
# metrics-windows-cpu-load.rb
|
4
4
|
#
|
5
5
|
# DESCRIPTION:
|
6
6
|
# This is metrics which outputs the CPU load in Graphite acceptable format.
|
@@ -15,7 +15,6 @@
|
|
15
15
|
#
|
16
16
|
# DEPENDENCIES:
|
17
17
|
# gem: sensu-plugin
|
18
|
-
# gem: socket
|
19
18
|
#
|
20
19
|
# USAGE:
|
21
20
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# disk-usage
|
3
|
+
# metrics-windows-disk-usage.rb
|
4
4
|
#
|
5
5
|
# DESCRIPTION:
|
6
6
|
# This plugin collects disk capacity metrics.
|
@@ -14,7 +14,6 @@
|
|
14
14
|
#
|
15
15
|
# DEPENDENCIES:
|
16
16
|
# gem: sensu-plugin
|
17
|
-
# gem: socket
|
18
17
|
#
|
19
18
|
# USAGE:
|
20
19
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# ram-usage-windows
|
3
|
+
# ram-usage-windows.rb
|
4
4
|
#
|
5
5
|
# DESCRIPTION:
|
6
6
|
# This is metrics which outputs the Ram usage in Graphite acceptable format.
|
@@ -17,7 +17,6 @@
|
|
17
17
|
#
|
18
18
|
# DEPENDENCIES:
|
19
19
|
# gem: sensu-plugin
|
20
|
-
# gem: socket
|
21
20
|
#
|
22
21
|
# USAGE:
|
23
22
|
#
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
# encoding: utf-8
|
4
|
+
module SensuPluginsWindows
|
5
|
+
# This defines the version of the gem
|
6
|
+
module Version
|
7
|
+
MAJOR = 0
|
8
|
+
MINOR = 0
|
9
|
+
PATCH = 1
|
10
|
+
|
11
|
+
VER_STRING = [MAJOR, MINOR, PATCH, 'alpha.3'].compact.join('.')
|
12
|
+
|
13
|
+
NAME = 'sensu-plugins-windows'
|
14
|
+
BANNER = "#{NAME} v%s"
|
15
|
+
|
16
|
+
module_function
|
17
|
+
|
18
|
+
def version
|
19
|
+
format(BANNER, VER_STRING)
|
20
|
+
end
|
21
|
+
|
22
|
+
def json_version
|
23
|
+
{
|
24
|
+
'version' => VER_STRING
|
25
|
+
}.to_json
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-windows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.alpha.
|
4
|
+
version: 0.0.1.alpha.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yieldbot, Inc. and contributors
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: sensu-plugin
|
@@ -50,16 +50,16 @@ dependencies:
|
|
50
50
|
name: codeclimate-test-reporter
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
55
|
+
version: '0.4'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
62
|
+
version: '0.4'
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: rubocop
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,20 +172,9 @@ dependencies:
|
|
172
172
|
- - "~>"
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '0.10'
|
175
|
-
description:
|
175
|
+
description: Sensu plugins for working with windows
|
176
176
|
email: "<sensu-users@googlegroups.com>"
|
177
|
-
executables:
|
178
|
-
- check-iis-current-connections.rb
|
179
|
-
- check-windows-cpu-load.rb
|
180
|
-
- check-windows-disk.rb
|
181
|
-
- check-windows-process.rb
|
182
|
-
- check-windows-service.rb
|
183
|
-
- extension-wmi-metrics.rb
|
184
|
-
- metrics-iis-current-connections.rb
|
185
|
-
- metrics-iis-get-requests.rb
|
186
|
-
- metrics-windows-cpu-load.rb
|
187
|
-
- metrics-windows-disk-usage.rb
|
188
|
-
- metrics-windows-ram-usage.rb
|
177
|
+
executables: []
|
189
178
|
extensions: []
|
190
179
|
extra_rdoc_files: []
|
191
180
|
files:
|
@@ -204,10 +193,14 @@ files:
|
|
204
193
|
- bin/metrics-windows-disk-usage.rb
|
205
194
|
- bin/metrics-windows-ram-usage.rb
|
206
195
|
- lib/sensu-plugins-windows.rb
|
196
|
+
- lib/sensu-plugins-windows/version.rb
|
207
197
|
homepage: https://github.com/sensu-plugins/sensu-plugins-windows
|
208
198
|
licenses:
|
209
199
|
- MIT
|
210
|
-
metadata:
|
200
|
+
metadata:
|
201
|
+
maintainer: ''
|
202
|
+
development_status: active
|
203
|
+
production_status: unstable - testing recommended
|
211
204
|
post_install_message:
|
212
205
|
rdoc_options: []
|
213
206
|
require_paths:
|
@@ -227,5 +220,6 @@ rubyforge_project:
|
|
227
220
|
rubygems_version: 2.2.2
|
228
221
|
signing_key:
|
229
222
|
specification_version: 4
|
230
|
-
summary:
|
223
|
+
summary: Sensu plugins for working with windows
|
231
224
|
test_files: []
|
225
|
+
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|