sensu-plugins-megaraid 0.0.4 → 0.0.5

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: c3d3d14d950dd3f5ec537f1640b12a80dba84d1a
4
- data.tar.gz: 907733cf01bac17af4dbb6c23fe1ae4b89f1bebb
3
+ metadata.gz: a770940b0759daaa1ea131383cccc27f30510b50
4
+ data.tar.gz: cfe07f4d9205f79ea32e4430f11c191d3a9dcc23
5
5
  SHA512:
6
- metadata.gz: f1cf1ef2be946df8abde0ce6729e49f839b3d5bf4a6060b56f90ff9e086542955ac72ec7d0ebd9d91545a77082fa405f9bdfb3efef9a37a76ca3920a0779ded7
7
- data.tar.gz: 95feba4af628cddeb6b73b56998eda9cc40aa0b125de18550c8b2ee70cb59e4f836a211aa366182dcd76dfa57c131f51fa7660f8aa7336c408c84b819ee18916
6
+ metadata.gz: bd105c6bcee86a2d027b3620851e94babee952b55a7e4a6b87fdbb5ceaefb1bca86164ff5857972f2ebd567167220500854168f4a0c5a6840ffe5ab7ae386bf4
7
+ data.tar.gz: 3c6f75addbef67f1a0538569901827be0f23c59c69e6b637de6f1a59e13f9be628d7385924faf941d2ccc62ca767b137e97f4348a1fbe5edde4c82a801b68bef
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.5] - 2015-12-29
9
+ ### Added
10
+ - Adding more healthy states for physical disks (e.g. dhs, ugood, ghs)
11
+
8
12
  ## [0.0.4] - 2015-12-29
9
13
  ### Added
10
14
  - Normalizing VD and PD names
@@ -122,7 +122,7 @@ class CheckMegaRAID < Sensu::Plugin::Check::CLI
122
122
  controller['physicaldisks'].each do |pd|
123
123
  pd_name = pd['EID:Slt'].gsub(':', '_')
124
124
  check_name = "megaraid-ctl_#{id}-pd_#{pd_name}-state"
125
- if pd['State'].downcase != "onln"
125
+ unless ["onln", "ugood", "dhs", "ghs"].include?(pd['State'].downcase)
126
126
  msg = "Controller #{id} PD #{pd_name} is not healthy (Status: #{pd['State']})"
127
127
  if config[:warn]
128
128
  send_warning(check_name, msg)
@@ -2,7 +2,7 @@ module SensuPluginsMegaRAID
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 4
5
+ PATCH = 5
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-megaraid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti