sensu-plugin 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu-handler.rb +1 -0
- data/lib/sensu-plugin.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5adc588001989a4c8089f311cdfe7410b372840
|
4
|
+
data.tar.gz: fdea6c65285174a18377ada8506c92a51cd3a134
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1496be0ebe4b322b1a55f1f3071f1ca73ce0b1c7a8ad5ceab0f5d365774a11bcb2bcf31b322f73b5ac2fcf0cd03181813d60c5af009669aeedc8d3ac0db6bf56
|
7
|
+
data.tar.gz: 2039d12de7d10203e951d23829b5fb2cde18d5da3b2dde019e56a66337a9599f83cc4ae69e4fb587c9ab848eee4361b205671f369a751f3718d254f2eb81ef7e
|
data/lib/sensu-handler.rb
CHANGED
@@ -209,6 +209,7 @@ module Sensu
|
|
209
209
|
if @event['check']['dependencies'].is_a?(Array)
|
210
210
|
@event['check']['dependencies'].each do |dependency|
|
211
211
|
begin
|
212
|
+
next if dependency.to_s.empty?
|
212
213
|
Timeout.timeout(2) do
|
213
214
|
check, client = dependency.split('/').reverse
|
214
215
|
if event_exists?(client || @event['client']['name'], check)
|
data/lib/sensu-plugin.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Decklin Foster
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.5.1
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: Sensu Plugins
|