sensu 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +6 -1
- data/lib/sensu/api/routes/results.rb +2 -2
- data/lib/sensu/constants.rb +1 -1
- metadata +2 -2
- 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: 907c67f40080774064579c80c0ec8979aea2fb1b
|
|
4
|
+
data.tar.gz: 43d91b3282f863f8c865b0fe464e48d35741bf6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0595fcf9558e827b4c40ff9e0fb53c46da2747b1774b1d112703eb5f5bf64d812b7787c4ea0581c2445b0a09cf8b3b3ea4b821c1a7e388ee29986c750bc3a28
|
|
7
|
+
data.tar.gz: 2a628deb496b12e2304391859772cce4b63e4827c1f229b53efd06629baf9f6d40909fc41201e9929fc939070abc616354be543cbbb0b793fb70498c05a58e82
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -5,10 +5,15 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.4.2] - 2018-05-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fixed API GET /results, results were incorrectly reported under a single client name.
|
|
12
|
+
|
|
8
13
|
## [1.4.1] - 2018-05-04
|
|
9
14
|
|
|
10
15
|
### Fixed
|
|
11
|
-
- Include em-http-request Ruby gem in runtime dependencies
|
|
16
|
+
- Include em-http-request Ruby gem in runtime dependencies.
|
|
12
17
|
|
|
13
18
|
## [1.4.0] - 2018-05-02
|
|
14
19
|
|
|
@@ -41,13 +41,13 @@ module Sensu
|
|
|
41
41
|
unless result_keys.empty?
|
|
42
42
|
result_keys.each_with_index do |result_key, result_key_index|
|
|
43
43
|
@redis.get(result_key) do |result_json|
|
|
44
|
-
|
|
45
|
-
history_key = "history:#{client_name}:#{check_name}"
|
|
44
|
+
history_key = result_key.sub(/^result:/, "history:")
|
|
46
45
|
@redis.lrange(history_key, -21, -1) do |history|
|
|
47
46
|
history.map! do |status|
|
|
48
47
|
status.to_i
|
|
49
48
|
end
|
|
50
49
|
unless result_json.nil?
|
|
50
|
+
client_name = history_key.split(":")[1]
|
|
51
51
|
check = Sensu::JSON.load(result_json)
|
|
52
52
|
check[:history] = history
|
|
53
53
|
@response_content << {:client => client_name, :check => check}
|
data/lib/sensu/constants.rb
CHANGED
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.
|
|
4
|
+
version: 1.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Porter
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
jOeGyhtQa9j4FFmsEJDg59f5v/3hECXsa3Xuml3foaFHzX3Ya/YIyd2YFxvkFKIu
|
|
32
32
|
GVbe7A3YdxzdkH2Es/Ym9twdxXaIDdXzj8sWhw==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2018-05-
|
|
34
|
+
date: 2018-05-10 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: eventmachine
|
metadata.gz.sig
CHANGED
|
Binary file
|