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 +4 -4
- data/CHANGELOG.md +7 -2
- data/bin/metrics-statuspageio.rb +3 -3
- data/lib/sensu-plugins-statuspage/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: 80aabe282c7e1a3d0decb07122fe6f11395729f0
|
|
4
|
+
data.tar.gz: f55dac75ac222c27fca00c9851eebfa6225d7fd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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
|
data/bin/metrics-statuspageio.rb
CHANGED
|
@@ -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['
|
|
47
|
-
@page_id = settings['
|
|
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['
|
|
52
|
+
@metrics = settings['statuspageio_metrics']['metrics'] || {}
|
|
53
53
|
|
|
54
54
|
# Split graphite-style metrics
|
|
55
55
|
@event['check']['output'].split(/\n/).each do |m|
|
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.
|
|
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-
|
|
11
|
+
date: 2017-07-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|