sensu 0.9.3.beta → 0.9.3.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/sensu.rb +1 -1
  2. data/lib/sensu/server.rb +2 -2
  3. metadata +3 -2
data/lib/sensu.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sensu
2
- VERSION = "0.9.3.beta"
2
+ VERSION = "0.9.3.beta.1"
3
3
  end
data/lib/sensu/server.rb CHANGED
@@ -177,7 +177,7 @@ module Sensu
177
177
  :flapping => is_flapping,
178
178
  :occurrences => event.occurrences
179
179
  }.to_json).callback do
180
- unless check.handle == false
180
+ unless check.internal || check.handle == false
181
181
  event.check.flapping = is_flapping
182
182
  event.action = 'create'
183
183
  handle_event(event)
@@ -189,7 +189,7 @@ module Sensu
189
189
  unless is_flapping
190
190
  unless check.auto_resolve == false && !check.force_resolve
191
191
  @redis.hdel('events:' + client.name, check.name).callback do
192
- unless check.handle == false
192
+ unless check.internal || check.handle == false
193
193
  event.action = 'resolve'
194
194
  handle_event(event)
195
195
  else
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31098117
4
+ hash: 62196265
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 3
10
10
  - beta
11
- version: 0.9.3.beta
11
+ - 1
12
+ version: 0.9.3.beta.1
12
13
  platform: ruby
13
14
  authors:
14
15
  - Sean Porter