sensu-plugins-ipmi-sensors 0.0.1 → 0.0.2

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: 6cd50e5f6e1100f3316e5b8182704137a989d146
4
- data.tar.gz: 3e96ff9b07019093aa6b3700482d6aef7474f742
3
+ metadata.gz: 089ad99f64eb12371d689a57d8035e7a11e972cf
4
+ data.tar.gz: ff006120c18464e698b04bc0e283de856278e533
5
5
  SHA512:
6
- metadata.gz: 0d11309b9f857a456ab1275efd6758703feea73130ed5f43d3ab30a56492cfc35063756cfac2ffe379717d956420e6b0d515daa6e0eaf4a808f2e1e46c997fd7
7
- data.tar.gz: 0fb17887d5f10c129338dfcfe49a5bb477713fad41ef6bcbabaf246746521eb6bfd192652d7dc7f8cb8dce3f7c8ce13f9cf2170e1e2ed071e4929a9bab90ba37
6
+ metadata.gz: 67f39a6e10feb0e7bc78938a3563544ad5aada8a15a6f59e7bbaf65abfbe46a0036608e8bc37ae3a41ec280e124054c67104121d41911206264221bb1eeb545b
7
+ data.tar.gz: cf1d6dc581440b437a274e6c545f4315d7ebf1c5175039a43eb32c43cdf6afc210e77577f58ae12eca271476b7e08a82b5a1118596aafec40dd557671a349011
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
7
7
 
8
+ ## [0.0.1] - 2015-12-29
9
+ ### Added
10
+ - Handling OK and UNKNOWN events
11
+
8
12
  ## [0.0.1] - 2015-12-28
9
13
  ### Added
10
14
  - Initial release
@@ -150,6 +150,7 @@ class CheckIPMISensors < Sensu::Plugin::Check::CLI
150
150
  case sensor[:unit].downcase
151
151
  when "n/a", "nominal"
152
152
  # life's good
153
+ send_ok(check_name, "IPMI sensor #{name} is healthy (State: #{sensor[:state]})")
153
154
  next
154
155
 
155
156
  when "warning"
@@ -161,7 +162,7 @@ class CheckIPMISensors < Sensu::Plugin::Check::CLI
161
162
  problems += 1
162
163
 
163
164
  else
164
- send_ok(check_name, "IPMI sensor #{name} is healthy (State: #{sensor[:state]})")
165
+ send_unknown(check_name, "IPMI sensor #{name} is unknown (State: #{sensor[:state]})")
165
166
 
166
167
  end
167
168
  end
@@ -2,7 +2,7 @@ module SensuPluginsIPMISensors
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 1
5
+ PATCH = 2
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-ipmi-sensors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti