sensu-plugins-elasticsearch 1.3.0 → 1.3.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 +6 -1
- data/bin/check-es-query-count.rb +1 -1
- data/bin/check-es-query-ratio.rb +1 -1
- data/lib/sensu-plugins-elasticsearch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bac51cd8c7087847206136cf0c775a995ae95be
|
|
4
|
+
data.tar.gz: d8968b335e2cfbfda858281ebee5b30bb9d72374
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 714b0b5e018601d25a90909aab4530a476691ac24d549b6aaab17496841487c55ef5514b292bfb06ce6b0d49e999b0a975a2f5ccd1c43d2187716867e0223658
|
|
7
|
+
data.tar.gz: 50e843b6bb4479014f4ac9d3f6259eea4c3f149262e262e63022e21ee27c45ba96ab12ddcc6d129f73d1071830a6bde0bd0f434bdd72329e856536abb63d94a1
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
|
+
## [1.3.1] - 2017-05-22
|
|
8
|
+
### Fixed
|
|
9
|
+
- Conversion of previous_months option to Seconds (@guptaishabh)
|
|
10
|
+
|
|
7
11
|
## [1.3.0] - 2017-05-08
|
|
8
12
|
### Fixed
|
|
9
13
|
- Use strict Base64 encoding to fix base64 encoding/netty issue (@msblum)
|
|
@@ -145,7 +149,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
145
149
|
### Added
|
|
146
150
|
- initial release
|
|
147
151
|
|
|
148
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.
|
|
152
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.1...HEAD
|
|
153
|
+
[1.3.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.0...1.3.1
|
|
149
154
|
[1.3.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.2.0...1.3.0
|
|
150
155
|
[1.2.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.1.3...1.2.0
|
|
151
156
|
[1.1.3]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.1.2...1.1.3
|
data/bin/check-es-query-count.rb
CHANGED
|
@@ -225,7 +225,7 @@ class ESQueryCount < Sensu::Plugin::Check::CLI
|
|
|
225
225
|
start_time -= (config[:weeks_previous] * 60 * 60 * 24 * 7)
|
|
226
226
|
end
|
|
227
227
|
if config[:months_previous] != 0
|
|
228
|
-
start_time -= (config[:months_previous] * 60 * 60 * 24 *
|
|
228
|
+
start_time -= (config[:months_previous] * 60 * 60 * 24 * 31)
|
|
229
229
|
end
|
|
230
230
|
"Kibana logs: #{config[:kibana_url]}/#/discover?_g=" \
|
|
231
231
|
"(refreshInterval:(display:Off,section:0,value:0),time:(from:'" \
|
data/bin/check-es-query-ratio.rb
CHANGED
|
@@ -233,7 +233,7 @@ class ESQueryRatio < Sensu::Plugin::Check::CLI
|
|
|
233
233
|
start_time -= (config[:weeks_previous] * 60 * 60 * 24 * 7)
|
|
234
234
|
end
|
|
235
235
|
if config[:months_previous] != 0
|
|
236
|
-
start_time -= (config[:months_previous] * 60 * 60 * 24 *
|
|
236
|
+
start_time -= (config[:months_previous] * 60 * 60 * 24 * 31)
|
|
237
237
|
end
|
|
238
238
|
"Kibana logs: #{config[:kibana_url]}/#/discover?_g=" \
|
|
239
239
|
"(refreshInterval:(display:Off,section:0,value:0),time:(from:'" \
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-elasticsearch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.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: 2017-05-
|
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|