sensu-plugins-hardware 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +5 -1
- data/README.md +1 -1
- data/bin/check-hardware-fail.rb +2 -6
- data/lib/sensu-plugins-hardware/version.rb +1 -1
- metadata +9 -6
- 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: 52ceed6270dabbcea3afccdc912b7be56d9c9e1f
|
|
4
|
+
data.tar.gz: 1649826e8a5854175ef36a9c7c6b287840aca79b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ed4a3c842a937ddbe3479a8c89c4e69f908a9c9898d999ef0566554d9df81cede5ca645d402301e70bb623a829bef6022923a8ec1737ffa652e4565ada54a94
|
|
7
|
+
data.tar.gz: 44ca0fb0faf7537b99999742e6f5a24838947b1883e54c3aef4443795db3b3689b18e86ca52a07622b2579de6f124308544cadd09bc4f7b992423aa54a8faa87
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -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
data/bin/check-hardware-fail.rb
CHANGED
|
@@ -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.
|
|
34
|
-
|
|
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
|
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.
|
|
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-
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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
|