sensu 0.20.1-java → 0.20.2-java

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: 2564018e7a3f8f91334d80d9e2152e40f35c2d09
4
- data.tar.gz: 38f70467076931ae86ea096c54198f3259f1a857
3
+ metadata.gz: ac0e6930a39ede5664edb9582cbb94f4ffb2df02
4
+ data.tar.gz: fb2ec4cf063969ab5618f1d283eb86e399013b5d
5
5
  SHA512:
6
- metadata.gz: e1bd592023a03bfac1179997f7884eb02e69437b41b345268126f1e5bd9f411c3c9de965674f7726d47e914f6f90e1aa18e1a3e0d2ed9415904d0f8bdf10fdca
7
- data.tar.gz: f7202a8c458392b4f8d7e8c3d66751c568e41e8f339bb4f247f89c668923e3734507eb7c1492714231412d0e1425e6ac66507d7523c910ea58953b9497ce54c4
6
+ metadata.gz: 75e8c96a1be4469f1a3734739e0d30a1cfe7853c04035d543b351fc80b5765359bd882f396ddf0896454d811d0e50d00d62a31874a783792d2d48db44b0ebf44
7
+ data.tar.gz: 242e0dbc43ba24152011e34404729b005df7537488f3f6457966454ac67266fa98132444e205ba2ffccedb3d18bf6f82d7c8c72bf42df14f70b1ec22c83999ec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.20.2 - 2015-08-06
2
+
3
+ ### Other
4
+
5
+ The Sensu API `/clients` route/endpoint is now capable of handling missing
6
+ client data for a client in the registry.
7
+
8
+ Sensu configuration file loading will now properly follow a link once.
9
+
1
10
  ## 0.20.1 - 2015-07-27
2
11
 
3
12
  ### Other
@@ -334,7 +334,14 @@ module Sensu
334
334
  unless clients.empty?
335
335
  clients.each_with_index do |client_name, index|
336
336
  settings.redis.get("client:#{client_name}") do |client_json|
337
- response << MultiJson.load(client_json)
337
+ unless client_json.nil?
338
+ response << MultiJson.load(client_json)
339
+ else
340
+ settings.logger.error("client registry missing data for client", {
341
+ :client_name => client_name
342
+ })
343
+ settings.redis.srem("clients", client_name)
344
+ end
338
345
  if index == clients.size - 1
339
346
  body MultiJson.dump(response)
340
347
  end
@@ -1,7 +1,7 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
3
  # Sensu release version.
4
- VERSION = "0.20.1"
4
+ VERSION = "0.20.2"
5
5
 
6
6
  # Sensu check severities.
7
7
  SEVERITIES = %w[ok warning critical unknown]
data/lib/sensu/daemon.rb CHANGED
@@ -4,7 +4,7 @@ gem "multi_json", "1.11.2"
4
4
 
5
5
  gem "sensu-em", "2.5.2"
6
6
  gem "sensu-logger", "1.0.0"
7
- gem "sensu-settings", "3.0.0"
7
+ gem "sensu-settings", "3.1.0"
8
8
  gem "sensu-extension", "1.1.2"
9
9
  gem "sensu-extensions", "1.2.0"
10
10
  gem "sensu-transport", "3.2.0"
data/sensu.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.add_dependency "eventmachine", "1.0.3"
20
20
  s.add_dependency "sensu-em", "2.5.2"
21
21
  s.add_dependency "sensu-logger", "1.0.0"
22
- s.add_dependency "sensu-settings", "3.0.0"
22
+ s.add_dependency "sensu-settings", "3.1.0"
23
23
  s.add_dependency "sensu-extension", "1.1.2"
24
24
  s.add_dependency "sensu-extensions", "1.2.0"
25
25
  s.add_dependency "sensu-transport", "3.2.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.1
4
+ version: 0.20.2
5
5
  platform: java
6
6
  authors:
7
7
  - Sean Porter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-27 00:00:00.000000000 Z
12
+ date: 2015-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -87,12 +87,12 @@ dependencies:
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 3.0.0
90
+ version: 3.1.0
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: 3.0.0
95
+ version: 3.1.0
96
96
  prerelease: false
97
97
  type: :runtime
98
98
  - !ruby/object:Gem::Dependency