sensu-plugins-statuspage 1.1.0 → 1.1.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: 251a7cc471457c18c5cdd04158f5895da7448e42
4
- data.tar.gz: f5b1a3a5818a932da4ffcf2946b37dc3b41f5969
3
+ metadata.gz: 80aabe282c7e1a3d0decb07122fe6f11395729f0
4
+ data.tar.gz: f55dac75ac222c27fca00c9851eebfa6225d7fd7
5
5
  SHA512:
6
- metadata.gz: 5e453873bce417bd45a9c6c357ce1ae5b3110fde8f36bf635bca7640a790bc68780a392a4158a73d0a5ad0b5de5e9689256aa59a3761b47f9f71413e460c125a
7
- data.tar.gz: cf03bb0ca31ef82e54332d5f04d2fd38d09e0c95c898d196e298d0d82a2b35adb2a5e3b0dcdd699f82e94ecf693c287372004556cd32883cc177d19f8c8f5bd0
6
+ metadata.gz: e5939500cf3d61815821aecccc1f7f023485c463ce0be85f4056694c3d1643adfdbcac384102d1cfcc191cb9c41462db135886d6cdea7199c09521cb4a384cfb
7
+ data.tar.gz: 1376593061013119d83d441c30104bfcd138cf9a7b6be98a71b6163f01d4f4d46aaa1ac23c1655fbf49aeee34f2a7684a157c6bfeb0e43c118548cd02547d15e
data/CHANGELOG.md CHANGED
@@ -5,7 +5,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
- ## [1.1.0] - 2017-06
8
+ ## [1.1.1] - 2017-07-21
9
+ ### Fixed
10
+ - metrics-statuspageio.rb: remove 'handlers' key from settings variable(@chrissav)
11
+
12
+ ## [1.1.0] - 2017-06-06
9
13
  ### Added
10
14
  - handler-statuspage.rb: add ability to send requests through an unauthenticated proxy (@drhey)
11
15
 
@@ -34,7 +38,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
34
38
  ### Added
35
39
  - initial release
36
40
 
37
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-statuspage/compare/1.1.0...HEAD
41
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-statuspage/compare/1.1.1...HEAD
42
+ [1.1.1]: https://github.com/sensu-plugins/sensu-plugins-statuspage/compare/1.1.0...1.1.1
38
43
  [1.1.0]: https://github.com/sensu-plugins/sensu-plugins-statuspage/compare/1.0.0...1.1.0
39
44
  [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-statuspage/compare/0.0.3...1.0.0
40
45
  [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-statuspage/compare/0.0.2...0.0.3
@@ -43,13 +43,13 @@ class StatusPageIOMetrics < Sensu::Handler
43
43
 
44
44
  def handle
45
45
  # Grab page_id and api_key from dashboard
46
- @api_key = settings['handlers']['statuspageio_metrics']['api_key']
47
- @page_id = settings['handlers']['statuspageio_metrics']['page_id']
46
+ @api_key = settings['statuspageio_metrics']['api_key']
47
+ @page_id = settings['statuspageio_metrics']['page_id']
48
48
 
49
49
  # Get a dict of metric_from_output => metric_ids
50
50
  # This allows the re-use of standard metrics plugins that can be mapped to
51
51
  # statuspage io metrics
52
- @metrics = settings['handlers']['statuspageio_metrics']['metrics'] || {}
52
+ @metrics = settings['statuspageio_metrics']['metrics'] || {}
53
53
 
54
54
  # Split graphite-style metrics
55
55
  @event['check']['output'].split(/\n/).each do |m|
@@ -4,7 +4,7 @@ module SensuPluginsStatuspage
4
4
  module Version
5
5
  MAJOR = 1
6
6
  MINOR = 1
7
- PATCH = 0
7
+ PATCH = 1
8
8
 
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-statuspage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.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-06-06 00:00:00.000000000 Z
11
+ date: 2017-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin