sensu-plugins-load-checks 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a6660edc7defe4a09a64da4d2b3c4d9e2fc7c53
4
- data.tar.gz: 3c6eb5aa30c41f7cb3e07ca67e8ccf9a77493e2d
3
+ metadata.gz: 6b694bd11e6f41791692ad587d2b1ea24eef2c8d
4
+ data.tar.gz: b33776d822ae3189d44784ffa6768d5e40fbca9a
5
5
  SHA512:
6
- metadata.gz: fcebf2560e829197066356be1022c2af8fe971857613f90e089772c68a968fbb4cf03ebfc74ae58b417a779166ef8688831a2297f2472bfadbba5275a1fc990b
7
- data.tar.gz: 25c4865e2ba76c1181f5642ec88e889581571b9cb592d4c12a648509a30411958a74fcd9d83bbf8d1f1133b1bb844e6d28ed50791e9e957a961e7393a1841b02
6
+ metadata.gz: ddf5493a41d2c24a2d6f1e8c2db36dd322cc4ebbd4b0808150ab4954777e5c634eced0c0bbf174a42c192ecf2e27f347ed34798bd0211547cfeede801a9569a4
7
+ data.tar.gz: 89cad52536d69267adfb70f5389e794dea1bed57696bfa0f796441a45bc94ff9ee368402c5f0fed615e7c58d0fe4b58d00e75008be14a8f076c8035d94c8c6c5
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -3,7 +3,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
- ## Unreleased][unreleased]
6
+ ## Unreleased
7
+
8
+ ## [0.0.4] - 2015-12-11
9
+ ### Changed
10
+ - Use pure ruby for cpu count in check-load.rb
7
11
 
8
12
  ## [0.0.3] - 2015-07-14
9
13
  ### Changed
@@ -20,4 +24,4 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
20
24
  - added binstubs
21
25
 
22
26
  ### Changed
23
- - removed cruft from /lib
27
+ - removed cruft from /lib
data/README.md CHANGED
@@ -17,6 +17,6 @@
17
17
 
18
18
  ## Installation
19
19
 
20
- [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
20
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
21
21
 
22
22
  ## Notes
@@ -45,7 +45,7 @@ class LoadAverage
45
45
  end
46
46
 
47
47
  def cpu_count
48
- `grep -sc ^processor /proc/cpuinfo`.to_i rescue 0
48
+ File.read('/proc/cpuinfo').scan(/^processor/).count rescue 0
49
49
  end
50
50
 
51
51
  def failed?
@@ -2,7 +2,7 @@ module SensuPluginsLoadChecks
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 3
5
+ PATCH = 4
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-load-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins 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-07-14 00:00:00.000000000 Z
33
+ date: 2015-12-11 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-plugin
@@ -66,14 +66,14 @@ dependencies:
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: '0.30'
69
+ version: 0.32.1
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: '0.30'
76
+ version: 0.32.1
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: rspec
79
79
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +172,10 @@ dependencies:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0.10'
175
- description: Sensu plugins for load checks
175
+ description: |-
176
+ This plugin provides native load instrumentation
177
+ for monitoring and metrics collection, including:
178
+ load health, and total or per core metrics
176
179
  email: "<sensu-users@googlegroups.com>"
177
180
  executables:
178
181
  - metrics-load.rb
@@ -213,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
216
  version: '0'
214
217
  requirements: []
215
218
  rubyforge_project:
216
- rubygems_version: 2.4.6
219
+ rubygems_version: 2.4.8
217
220
  signing_key:
218
221
  specification_version: 4
219
222
  summary: Sensu plugins for load checks
metadata.gz.sig CHANGED
Binary file