sensu-plugins-consul 2.2.0 → 2.2.1
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
- data/CHANGELOG.md +7 -2
- data/bin/check-consul-failures.rb +1 -1
- data/lib/sensu-plugins-consul/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d6b39c0bfac1ba5f5b85d8ba29c824863c68f6ddf6c63d37d10dcb139d10c446
|
|
4
|
+
data.tar.gz: 921006a231137856260cc512be1ed1b1d72385624bb5d68dc0f0641d086bc386
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cab243a5fae7327c4c28115f97928664d5eb0c534f91a933c88cd53cd45b90b7689d8a8cefa4d9d2a07f1d648851c1cb04b95a511f41e79eeed137ac211d3169
|
|
7
|
+
data.tar.gz: fb79df9d87b6669d38afe288c1f3cca2233118351ff4a04ac24d2bb625cd99c8da37990f77d9029b433b81c247186b2dea2cdc269c6852918227f48aa6e97027
|
data/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,13 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.2.1] - 2018-10-01
|
|
9
|
+
### Fixed
|
|
10
|
+
- check-consul-failures: use a put when requesting to remove a node from the agent api (@majormoses)
|
|
11
|
+
|
|
8
12
|
## [2.2.0] - 2018-06-11
|
|
9
13
|
### Added
|
|
10
|
-
- add ACL support to all consul checks
|
|
14
|
+
- add ACL support to all consul checks (@scalp42)
|
|
11
15
|
|
|
12
16
|
## [2.1.1] - 2018-05-31
|
|
13
17
|
### Fixed
|
|
@@ -132,7 +136,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
132
136
|
### Added
|
|
133
137
|
- initial release
|
|
134
138
|
|
|
135
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.2.
|
|
139
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.2.1...HEAD
|
|
140
|
+
[2.2.1]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.2.0...2.2.1
|
|
136
141
|
[2.2.0]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.1.1...2.2.0
|
|
137
142
|
[2.1.1]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.1.0...2.1.1
|
|
138
143
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.0.1...2.1.0
|
|
@@ -81,7 +81,7 @@ class ConsulStatus < Sensu::Plugin::Check::CLI
|
|
|
81
81
|
"#{config[:scheme]}://#{config[:server]}:#{config[:port]}/v1/agent/force-leave/#{node['Name']}",
|
|
82
82
|
timeout: 5,
|
|
83
83
|
headers: { 'X-Consul-Token' => config[:token] }
|
|
84
|
-
).
|
|
84
|
+
).put
|
|
85
85
|
nodes_names.delete(node['Name'])
|
|
86
86
|
end
|
|
87
87
|
ok 'All clear' if nodes_names.empty?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-consul
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -184,16 +184,16 @@ description: |-
|
|
|
184
184
|
for passing/critical services.
|
|
185
185
|
email: "<sensu-users@googlegroups.com>"
|
|
186
186
|
executables:
|
|
187
|
-
- check-consul-failures.rb
|
|
188
|
-
- check-consul-kv-ttl.rb
|
|
189
|
-
- check-consul-leader.rb
|
|
190
187
|
- check-consul-maintenance.rb
|
|
191
188
|
- check-consul-members.rb
|
|
192
|
-
- check-consul-quorum.rb
|
|
193
|
-
- check-consul-servers.rb
|
|
194
189
|
- check-consul-service-health.rb
|
|
190
|
+
- check-consul-servers.rb
|
|
195
191
|
- check-consul-stale-peers.rb
|
|
192
|
+
- check-consul-failures.rb
|
|
193
|
+
- check-consul-kv-ttl.rb
|
|
196
194
|
- check-service-consul.rb
|
|
195
|
+
- check-consul-leader.rb
|
|
196
|
+
- check-consul-quorum.rb
|
|
197
197
|
extensions: []
|
|
198
198
|
extra_rdoc_files: []
|
|
199
199
|
files:
|