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 +4 -4
- data/CHANGELOG.md +4 -0
- data/bin/check-megaraid.rb +1 -1
- data/lib/sensu-plugins-megaraid/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a770940b0759daaa1ea131383cccc27f30510b50
|
4
|
+
data.tar.gz: cfe07f4d9205f79ea32e4430f11c191d3a9dcc23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/bin/check-megaraid.rb
CHANGED
@@ -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
|
-
|
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)
|