sensu-plugins-uninterruptible-sleep 0.1.3 → 0.1.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b874dc9bf01d709975b5fb592abe46b9611894aa
|
4
|
+
data.tar.gz: b3a76eb6e3f2390f5e80eaa689f6796c7a5a2cb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6c583a0c994af2c100050bcdb6d57555726e6a8aec90c8805fc871e6158c51d2d1a08588b95f715713cb3712b775ee79542b29643d37a984f8d9dd2136f914
|
7
|
+
data.tar.gz: f16968f6023ca3bb564c36fcda9f9f0f51dad993545d623b1ad2840043fa5c7c7cd9c64b68ab00063f810a65c35540d0f34808b223f7b0cc2f10b90e3a4150bc
|
@@ -39,7 +39,7 @@ class CheckUninterruptibleSleep < Sensu::Plugin::Check::CLI
|
|
39
39
|
proc: proc(&:to_i)
|
40
40
|
|
41
41
|
def process_states
|
42
|
-
stdout, stderr, status = Open3.capture3('ps', '-
|
42
|
+
stdout, stderr, status = Open3.capture3('ps', '-e', '-o', 's')
|
43
43
|
raise "ps command failed with exit code #{status.exitstatus}: #{stderr}" unless status.success?
|
44
44
|
stdout.lines
|
45
45
|
end
|