sensu-plugins-hardware 0.0.3 → 0.0.4

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: 69a97a9528b8817bea7642b1117422069aed1123
4
- data.tar.gz: e679a888211dd61a9f93dea84109e0c448dd1922
3
+ metadata.gz: 52ceed6270dabbcea3afccdc912b7be56d9c9e1f
4
+ data.tar.gz: 1649826e8a5854175ef36a9c7c6b287840aca79b
5
5
  SHA512:
6
- metadata.gz: ff0d7038f95d59049aa8464dc3f795c65785ccf0e25c7798d3c268cf75e68b095d52172eb90a394ed4c80ef5c350130043c7daf4950bb103e56c33e29ccea136
7
- data.tar.gz: 7e1bd144f5b8e3e93a527da1c0c940a3bbc5f536f3e68180cc018528b2337e06d9382e02c772f6cacbb1c7ffe1b9379e218d38dadea69cc3c009515f8012ff8c
6
+ metadata.gz: 3ed4a3c842a937ddbe3479a8c89c4e69f908a9c9898d999ef0566554d9df81cede5ca645d402301e70bb623a829bef6022923a8ec1737ffa652e4565ada54a94
7
+ data.tar.gz: 44ca0fb0faf7537b99999742e6f5a24838947b1883e54c3aef4443795db3b3689b18e86ca52a07622b2579de6f124308544cadd09bc4f7b992423aa54a8faa87
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased][unreleased]
7
7
 
8
+ ## [0.0.4] - 2015-12-02
9
+ ### Fixed
10
+ - Fix ruby utf8 byte sequence error
11
+
8
12
  ## [0.0.3] - 2015-07-14
9
13
  ### Changed
10
14
  - updated sensu-plugin gem to 1.2.0
@@ -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
@@ -16,6 +16,6 @@
16
16
 
17
17
  ## Installation
18
18
 
19
- [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
19
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
20
20
 
21
21
  ## Notes
@@ -30,12 +30,8 @@ require 'sensu-plugin/check/cli'
30
30
 
31
31
  class CheckHardwareFail < Sensu::Plugin::Check::CLI
32
32
  def run
33
- errors = `dmesg`.lines.grep(/\[Hardware Error\]/)
34
- # #YELLOW
35
- unless errors.empty? # rubocop:disable IfUnlessModifier
36
- critical 'Hardware Error Detected'
37
- end
38
-
33
+ errors = `dmesg`.lines.select { |l| l['[Hardware Error]'] }
34
+ critical 'Hardware Error Detected' if errors.any?
39
35
  ok 'Hardware OK'
40
36
  end
41
37
  end
@@ -2,7 +2,7 @@ module SensuPluginsHardware
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-hardware
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-02 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 physical hardware
175
+ description: |-
176
+ This plugin provides instrumentation for hardware
177
+ monitoring via checking the system message buffer
178
+ for "Hardware Error" entries using `dmesg`.
176
179
  email: "<sensu-users@googlegroups.com>"
177
180
  executables:
178
181
  - check-hardware-fail.rb
@@ -211,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
214
  version: '0'
212
215
  requirements: []
213
216
  rubyforge_project:
214
- rubygems_version: 2.4.6
217
+ rubygems_version: 2.4.8
215
218
  signing_key:
216
219
  specification_version: 4
217
220
  summary: Sensu plugins for physical hardware
metadata.gz.sig CHANGED
Binary file