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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +8 -0
- data/README.md +9 -2
- data/lib/sensu/constants.rb +1 -1
- data/lib/sensu/daemon.rb +1 -1
- data/lib/sensu/server/process.rb +12 -4
- data/sensu.gemspec +1 -1
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 728eb3609156df3d3489872c99c1d4ef04b8a92b
|
4
|
+
data.tar.gz: ea6d94c2b1f3addfe260054bbf18bfe1e0954e13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a79bb25f822ff870f9188e3e9fd474bfb29fffe03556d1361121d33cfd6f8991718452e3740f5f3272bbcb6dbd7df6eac2dd2043782a52494358970a6d9305c
|
7
|
+
data.tar.gz: fe0ac2b3af8f6ce01e8b61684cd93bdff4361604be2da8f003c7c5f914ba6edb293bd29ad7b989f0cfb549e6bf696372c6eff85eb7189f5f445dc2c38955ead7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -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
|
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
|
-
|
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
|
|
data/lib/sensu/constants.rb
CHANGED
data/lib/sensu/daemon.rb
CHANGED
data/lib/sensu/server/process.rb
CHANGED
@@ -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
|
-
|
187
|
-
@
|
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
|
-
|
736
|
-
@
|
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)
|
data/sensu.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
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
|