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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90f68bc8460ddd66cbb39d313cf34d26f37964b9
4
- data.tar.gz: d8e336cddc50152ed54b70560888df7cb000126a
3
+ metadata.gz: 4bac51cd8c7087847206136cf0c775a995ae95be
4
+ data.tar.gz: d8968b335e2cfbfda858281ebee5b30bb9d72374
5
5
  SHA512:
6
- metadata.gz: 12a417c9e0484cfdfd8e255b1ceffefe790dc9ca8f939af826d284f1dff4bd8eb4e2d829e360e42269a5a6f0624fbebaf77f2effed5fba696ccc44196d21cbee
7
- data.tar.gz: 913badc45c5770c4be3204ea1c084d4e94aef760c122f5b10160bd6e7958544baff34837f2ca1f0a956df475a729d3a9f34fd2165a102efc75ade2c114163624
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.0...HEAD
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
@@ -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 * 7 * 31)
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:'" \
@@ -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 * 7 * 31)
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:'" \
@@ -2,7 +2,7 @@ module SensuPluginsElasticsearch
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 3
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2017-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client