sensu-plugins-windows 0.0.1.alpha.2 → 0.0.1.alpha.3

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
  SHA1:
3
- metadata.gz: e8a70a84851e393ab3f7087da904c2172d49fc0a
4
- data.tar.gz: f5d147853e7e3f1161bc39f2c8731c0548016630
3
+ metadata.gz: 456b4499d2e08b5e019ab896313dfdfcfadd90ae
4
+ data.tar.gz: 23a294e527464fcb7cceec73f4d31cccd915e65e
5
5
  SHA512:
6
- metadata.gz: 1b3a2dbb2096dc9b72e1844a950ef103fbb1d5f67e4f79392edc9838d3b3b3f393ff3480c5d74cc38317eac653a475865e8b3c20bc15fc503b00e4439d2b852a
7
- data.tar.gz: 9fc5782e35b2a2683077321739f27937b3971e0adbf51543d525f6f9f4bb3277734be469e506a84b863a08502507de6fdd85ba080b3e0c164c427455fdbfab65
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
@@ -5,3 +5,10 @@
5
5
  #### 0.0.1.alpha.2
6
6
 
7
7
  * build passes
8
+
9
+ #### 0.0.1.alpha.2
10
+
11
+ * fix rubocop issues
12
+ * add gem metadata
13
+ * add new version and bump tasks
14
+ * add new version modules
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.4'
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.4'
59
+ version '0.0.1.alpha.1'
60
60
  end
61
61
  ```
62
62
 
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # check-windows-cpu-load
3
+ # check-windows-cpu-load.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  #
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # check-disk-windows
3
+ # check-windows-disk.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  # This is mostly copied from the original check-disk.rb plugin and modified
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # check-process
3
+ # check-windows-process.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  # This plugin checks whether a User-inputted process is running or not
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # check-service-windows
3
+ # check-service-windows.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  # Check Named Windows Service Plugin
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # WMI Metrics
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
- # iis-current-connections-metrics
3
+ # metrics-iis-current-connections.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  #
@@ -12,7 +12,6 @@
12
12
  #
13
13
  # DEPENDENCIES:
14
14
  # gem: sensu-plugin
15
- # gem: socket
16
15
  #
17
16
  # USAGE:
18
17
  #
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # iis-get-requests-metrics
3
+ # metrics-iis-get-requests.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  #
@@ -12,7 +12,6 @@
12
12
  #
13
13
  # DEPENDENCIES:
14
14
  # gem: sensu-plugin
15
- # gem: socket
16
15
  #
17
16
  # USAGE:
18
17
  #
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # windows-cpu-load-metrics
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-metrics
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
  #
@@ -1,7 +1,15 @@
1
+
2
+ require 'sensu-plugins-windows/version'
3
+
4
+ # Load the defaults
5
+
1
6
  #
2
- # Set gem version
7
+ # Default class
3
8
  #
4
9
  module SensuPluginsWindows
5
- # Gem version
6
- VERSION = '0.0.1.alpha.2'
10
+ class << self
11
+ end
12
+
13
+ class << self
14
+ end
7
15
  end
@@ -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.2
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-03-19 00:00:00.000000000 Z
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: A set of plugins to monitor Windows OS
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: A set of plugins to monitor Windows OS
223
+ summary: Sensu plugins for working with windows
231
224
  test_files: []
225
+ has_rdoc:
metadata.gz.sig CHANGED
Binary file