sensu 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/lib/sensu/constants.rb +1 -1
- data/lib/sensu/daemon.rb +1 -1
- data/lib/sensu/server/process.rb +3 -2
- data/sensu.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b8129f2924dcf63c31a7bdb855cd40cb7493464
|
4
|
+
data.tar.gz: 2a66a8334964bfcbfcb8f3f2638171236181ae5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3cfe4332c8324c4fda668fc6b2aa2d7145dda82f0733b21bb16341f74006861617833a2aa6fd9fd18958ae339cc0f479198573fc849790b4dce93c34083ff15
|
7
|
+
data.tar.gz: 91601da033ce04b914df438c002d047cc16e868a4417cb2a3c16763d16646e860eee649e924a06b9c9dde1f8c43db9c2522ba106c3dc6ccf3398b4f28d0be01f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
## 0.20.1 - 2015-07-27
|
2
|
+
|
3
|
+
### Other
|
4
|
+
|
5
|
+
Resolving an event, that includes a check TTL, with the Sensu API will
|
6
|
+
remove the check from TTL monitoring, until another check result with a
|
7
|
+
TTL is received.
|
8
|
+
|
9
|
+
Added a timestamp to Sensu event data, recording the time of event
|
10
|
+
creation.
|
11
|
+
|
12
|
+
Fixed RabbitMQ transport connection AMQP heartbeat monitoring, the AMQP
|
13
|
+
library was sending heartbeat frames on closed connections.
|
14
|
+
|
15
|
+
The RabbitMQ transport now resets (close connection, etc.) when making
|
16
|
+
periodic reconnect attempts. The periodic reconnect timer delay will now
|
17
|
+
be incremented by 2 on every attempt, to a maximum of 20 seconds.
|
18
|
+
|
1
19
|
## 0.20.0 - 2015-07-09
|
2
20
|
|
3
21
|
### Features
|
@@ -17,6 +35,15 @@ events.
|
|
17
35
|
Updated MultiJson and Childprocess to the latest versions, which include
|
18
36
|
improvements and bug fixes.
|
19
37
|
|
38
|
+
Sensu now sets the `SENSU_LOADED_TEMPFILE` environment variable to a
|
39
|
+
temporary file path, a file containing the colon delimited list of loaded
|
40
|
+
configuration files for the Sensu service
|
41
|
+
(e.g.`/tmp/sensu_client_loaded_files`). This new temporary file and
|
42
|
+
environment variable (`SENSU_LOADED_TEMPFILE`) replaced
|
43
|
+
`SENSU_CONFIG_FILES`, which has been removed, due to the exec ARG_MAX
|
44
|
+
(E2BIG) error when spawning processes after loading many configuration
|
45
|
+
files (e.g. > 2000).
|
46
|
+
|
20
47
|
## 0.19.2 - 2015-06-08
|
21
48
|
|
22
49
|
### Other
|
data/lib/sensu/constants.rb
CHANGED
data/lib/sensu/daemon.rb
CHANGED
data/lib/sensu/server/process.rb
CHANGED
@@ -317,7 +317,8 @@ module Sensu
|
|
317
317
|
:client => client,
|
318
318
|
:check => check,
|
319
319
|
:occurrences => 1,
|
320
|
-
:action => (flapping ? :flapping : :create)
|
320
|
+
:action => (flapping ? :flapping : :create),
|
321
|
+
:timestamp => Time.now.to_i
|
321
322
|
}
|
322
323
|
if check[:status] != 0 || flapping
|
323
324
|
if stored_event && check[:status] == stored_event[:check][:status]
|
@@ -666,7 +667,7 @@ module Sensu
|
|
666
667
|
@redis.get("result:#{result_key}") do |result_json|
|
667
668
|
unless result_json.nil?
|
668
669
|
check = MultiJson.load(result_json)
|
669
|
-
next unless check[:ttl] && check[:executed]
|
670
|
+
next unless check[:ttl] && check[:executed] && !check[:force_resolve]
|
670
671
|
time_since_last_execution = Time.now.to_i - check[:executed]
|
671
672
|
if time_since_last_execution >= check[:ttl]
|
672
673
|
check[:output] = "Last check execution was "
|
data/sensu.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.add_dependency "sensu-settings", "3.0.0"
|
23
23
|
s.add_dependency "sensu-extension", "1.1.2"
|
24
24
|
s.add_dependency "sensu-extensions", "1.2.0"
|
25
|
-
s.add_dependency "sensu-transport", "3.
|
25
|
+
s.add_dependency "sensu-transport", "3.2.0"
|
26
26
|
s.add_dependency "sensu-spawn", "1.3.0"
|
27
27
|
s.add_dependency "em-redis-unified", "1.0.0"
|
28
28
|
s.add_dependency "sinatra", "1.4.6"
|
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.
|
4
|
+
version: 0.20.1
|
5
5
|
platform: ruby
|
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-
|
12
|
+
date: 2015-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
@@ -129,14 +129,14 @@ dependencies:
|
|
129
129
|
requirements:
|
130
130
|
- - '='
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 3.
|
132
|
+
version: 3.2.0
|
133
133
|
type: :runtime
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 3.
|
139
|
+
version: 3.2.0
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: sensu-spawn
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|