sensu 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sensu/server.rb +1 -1
- data/sensu.gemspec +1 -1
- metadata +2 -2
data/lib/sensu/server.rb
CHANGED
@@ -108,7 +108,7 @@ module Sensu
|
|
108
108
|
if check['type'] == 'metric'
|
109
109
|
handle_event(event)
|
110
110
|
else
|
111
|
-
if
|
111
|
+
if check['status'] == 0
|
112
112
|
@redis.hexists('events:' + client['name'], check['name']).callback do |exists|
|
113
113
|
if exists == 1
|
114
114
|
@redis.hdel('events:' + client['name'], check['name'])
|
data/sensu.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sensu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
5
|
+
version: 0.5.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Sean Porter
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-09-
|
14
|
+
date: 2011-09-16 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: amqp
|