sensu 1.7.1 → 1.8.0

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: 98cfd24bb3cebc0d22dd4b5f86a55be8f3ff9658
4
- data.tar.gz: 5f0647844c493bac12dd9f650a8adf8bfa0cd357
3
+ metadata.gz: 728eb3609156df3d3489872c99c1d4ef04b8a92b
4
+ data.tar.gz: ea6d94c2b1f3addfe260054bbf18bfe1e0954e13
5
5
  SHA512:
6
- metadata.gz: 00526ff46dc0f079542cd35df6c54ecdc8b44fb333bf06cc21c77173bba97a184fbf65644c4c47738895de691c709527f5b616de76b84b2688bf44cd9287b234
7
- data.tar.gz: 67abeca2af7da3f42f273c1aac1b5d4a9ca066f2abec85a6c62780b3a0b57c4f2d7a77f75b5981539ac86b1e295b6205c0b8396d6c955f1e0bf5f42ae0afd6ce
6
+ metadata.gz: 6a79bb25f822ff870f9188e3e9fd474bfb29fffe03556d1361121d33cfd6f8991718452e3740f5f3272bbcb6dbd7df6eac2dd2043782a52494358970a6d9305c
7
+ data.tar.gz: fe0ac2b3af8f6ce01e8b61684cd93bdff4361604be2da8f003c7c5f914ba6edb293bd29ad7b989f0cfb549e6bf696372c6eff85eb7189f5f445dc2c38955ead7
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -5,6 +5,14 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.8.0] - 2019-07-09
9
+
10
+ ### Added
11
+ - The sensu-server results and keepalives Sensu Transport pipes are now
12
+ configurable. These values should only be set/changed when creating
13
+ active-active Sensu deployments, leveraging the RabbitMQ shovel plugin for
14
+ cross site check result and keepalive replication.
15
+
8
16
  ## [1.7.1] - 2019-07-08
9
17
 
10
18
  ### Fixed
data/README.md CHANGED
@@ -7,9 +7,16 @@
7
7
 
8
8
  ** ANNOUNCEMENT - Sensu 1.x End-Of-Life on December 31st, 2019 **
9
9
 
10
- Sensu 1.x is currently in maintenance mode (critical bugs and security patch releases only) with no new feature enhancements or additions being planned at this time. The project will be end-of-life on December 31st, 2019. Please see our Discourse post for more details: https://discourse.sensu.io/t/the-eol-schedule-for-sensu-core-1-x-and-sensu-enterprise-3-x/1222
10
+ Sensu 1.x is currently in maintenance mode (critical bugs and security
11
+ patch releases only) with no new feature enhancements or additions
12
+ being planned at this time. The project will be end-of-life on
13
+ December 31st, 2019. Please see our Discourse post for more details:
14
+ https://discourse.sensu.io/t/the-eol-schedule-for-sensu-core-1-x-and-sensu-enterprise-3-x/1222
11
15
 
12
- As always, we want to hear from the Community and please reach out on Slack or Discourse if you have any questions or concerns.
16
+ Sensu 1.x has been superseded by [Sensu Go](https://github.com/sensu/sensu-go).
17
+
18
+ As always, we want to hear from the Community and please reach out on
19
+ Slack or Discourse if you have any questions or concerns.
13
20
 
14
21
  # Sensu
15
22
 
@@ -1,7 +1,7 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
3
  # Sensu release version.
4
- VERSION = "1.7.1".freeze
4
+ VERSION = "1.8.0".freeze
5
5
 
6
6
  # Sensu release information.
7
7
  RELEASE_INFO = {
@@ -4,7 +4,7 @@ gem "eventmachine", "1.2.7"
4
4
 
5
5
  gem "sensu-json", "2.1.1"
6
6
  gem "sensu-logger", "1.2.2"
7
- gem "sensu-settings", "10.15.0"
7
+ gem "sensu-settings", "10.16.0"
8
8
  gem "sensu-extension", "1.5.2"
9
9
  gem "sensu-extensions", "1.11.0"
10
10
  gem "sensu-transport", "8.3.0"
@@ -183,8 +183,12 @@ module Sensu
183
183
  # ensure the client registry is updated successfully. Keepalive
184
184
  # JSON parsing errors are logged.
185
185
  def setup_keepalives
186
- @logger.debug("subscribing to keepalives")
187
- @transport.subscribe(:direct, "keepalives", "keepalives", :ack => true) do |message_info, message|
186
+ keepalives_pipe = "keepalives"
187
+ if @settings[:sensu][:server] && @settings[:sensu][:server][:keepalives_pipe]
188
+ keepalives_pipe = @settings[:sensu][:server][:keepalives_pipe]
189
+ end
190
+ @logger.debug("subscribing to keepalives", :pipe => keepalives_pipe)
191
+ @transport.subscribe(:direct, keepalives_pipe, "keepalives", :ack => true) do |message_info, message|
188
192
  @logger.debug("received keepalive", :message => message)
189
193
  begin
190
194
  client = Sensu::JSON.load(message)
@@ -732,8 +736,12 @@ module Sensu
732
736
  # of the EventMachine reactor (event loop), as a flow control
733
737
  # mechanism. Result JSON parsing errors are logged.
734
738
  def setup_results
735
- @logger.debug("subscribing to results")
736
- @transport.subscribe(:direct, "results", "results", :ack => true) do |message_info, message|
739
+ results_pipe = "results"
740
+ if @settings[:sensu][:server] && @settings[:sensu][:server][:results_pipe]
741
+ results_pipe = @settings[:sensu][:server][:results_pipe]
742
+ end
743
+ @logger.debug("subscribing to results", :pipe => results_pipe)
744
+ @transport.subscribe(:direct, results_pipe, "results", :ack => true) do |message_info, message|
737
745
  begin
738
746
  result = Sensu::JSON.load(message)
739
747
  @logger.debug("received result", :result => result)
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.add_dependency "eventmachine", "1.2.7"
15
15
  s.add_dependency "sensu-json", "2.1.1"
16
16
  s.add_dependency "sensu-logger", "1.2.2"
17
- s.add_dependency "sensu-settings", "10.15.0"
17
+ s.add_dependency "sensu-settings", "10.16.0"
18
18
  s.add_dependency "sensu-extension", "1.5.2"
19
19
  s.add_dependency "sensu-extensions", "1.11.0"
20
20
  s.add_dependency "sensu-transport", "8.3.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: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
@@ -30,7 +30,7 @@ cert_chain:
30
30
  X5jpMGFeJITiueL7BQsPY5HHiTjshkT/ltr+YQnQd3g3jR8+AoCIUylCFdJNy2CZ
31
31
  oPVvM0H5TyjtwccVj04b6tZoRho=
32
32
  -----END CERTIFICATE-----
33
- date: 2019-07-08 00:00:00.000000000 Z
33
+ date: 2019-07-09 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: eventmachine
@@ -80,14 +80,14 @@ dependencies:
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 10.15.0
83
+ version: 10.16.0
84
84
  type: :runtime
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 10.15.0
90
+ version: 10.16.0
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: sensu-extension
93
93
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file