sensu-plugins-uninterruptible-sleep 0.1.2 → 0.1.3

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: 222953364c8202b2bcb176db9fb0654ec1232c2e
4
- data.tar.gz: e6c579b362781167621a340b76c3b00b3f936760
3
+ metadata.gz: b8663546469231e745057c1acd20346075bb7e7e
4
+ data.tar.gz: 02d92595d6e69c6362802948d8c91bfe28902f9b
5
5
  SHA512:
6
- metadata.gz: 8107ac8b3e5d0ffaaadb6689656ff2fd63d99592e683d2b2c6e3cf3760669df91fd82f2a4a36804e33c563db99141da405aa509b119b138e25ea7a52ea206f28
7
- data.tar.gz: b1ebc9ceb6ada631e7737e6ab7af75a33d5580fbd9131609aad9f11b35ae0b6915bf2c296130a817952abbe4ad48ba6c25b6bedb09fd746a321fc06b6093bd1c
6
+ metadata.gz: b2df93389043a8c83bd3a5799ac6f12d8cc79d53122dd6a11b61f5cf766e51716f211f6f74d211440b687c9f9d8e3bbff7e019869f0748279d68ad85a12cf335
7
+ data.tar.gz: 75a5687d7342b06eca3fac3d042b2e071e3492448baff11abc51ed2341df37513ef17ad0d143d5f281b04658e00c86f2b3712c72ab6f29fb5c7390e739298913
@@ -40,7 +40,7 @@ class CheckUninterruptibleSleep < Sensu::Plugin::Check::CLI
40
40
 
41
41
  def process_states
42
42
  stdout, stderr, status = Open3.capture3('ps', '-h', '-o', 's')
43
- raise "ps command failed: #{stderr}" unless status.success?
43
+ raise "ps command failed with exit code #{status.exitstatus}: #{stderr}" unless status.success?
44
44
  stdout.lines
45
45
  end
46
46
 
@@ -2,7 +2,7 @@ module SensuPluginsUninterruptibleSleep
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 2
5
+ PATCH = 3
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-uninterruptible-sleep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors