sensu-plugins-uninterruptible-sleep 0.1.2 → 0.1.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8663546469231e745057c1acd20346075bb7e7e
|
4
|
+
data.tar.gz: 02d92595d6e69c6362802948d8c91bfe28902f9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|