sensu-plugins-edgelab 1.4.0 → 1.4.1
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 +4 -4
- data/bin/check-nomad-jobs.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 767cd7f52f180cdf66ade32292be2855f54f01be
|
|
4
|
+
data.tar.gz: f18ed6b06634fa17d95e48333a1c91a2d4825825
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c51d4f70eb23341ef24cc7b4744b970f5cfd1804b07896290ed3ffb3bea20f1c2f704ea547bdf8c8451379dc738f6f62081e72872aafa2aea6268f95828d73a3
|
|
7
|
+
data.tar.gz: d62adba4a0d37aeb0177ab045015761f2a342f2508b544d71528f324048787a6536763ce7e957e6ef5541da58c8babf503bea779aaa6f442ebb2c3f7b57cc7ca
|
data/bin/check-nomad-jobs.rb
CHANGED
|
@@ -96,7 +96,8 @@ class CheckNomadAllocations < Sensu::Plugin::Check::CLI
|
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
# System jobs don't have blocked evaluation, only one evaluation per job.
|
|
100
|
+
if (job['Type'] == 'system' || blocked) && !last_failed.nil?
|
|
100
101
|
failure_reasons = placement_failures_reasons last_failed
|
|
101
102
|
|
|
102
103
|
if failure_reasons.any?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-edgelab
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Edgelab
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|