sensu-plugins-aws 11.4.2 → 11.5.0
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 -1
- data/bin/handler-ses.rb +1 -1
- data/lib/sensu-plugins-aws/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edbe12ec3ac72c5f79f014c7f1fd0044d0a63a0fa18f9ae44715fa1f9853ad9d
|
|
4
|
+
data.tar.gz: 4b12a5d6af4d7950fd4650f5623209cb69ad9bd8afa2a85eec8421470b40df6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92cdcabadaeaecdd42c33dbef15e657424754627acb0b1605551c9986b31fc6a525b1fadd40967d189150f8068e351652169de4d22bd6bd7a5587ddf65c1e11d
|
|
7
|
+
data.tar.gz: 7d4e4034f429dc20569789cb0702ba870ceb35c6d385db18aa1c9ef004071e98cb985943b2529bdd8fa13d663b7eaf7ea9282e1037ee8050a51ce2a4db535a2c
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
4
4
|
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
## [11.5.0] - 2018-05-17
|
|
9
|
+
### Added
|
|
10
|
+
- handler-ses.rb: can now set `mail_to` in a check and handler will send to the appropriate email (@Juan-Moreno)
|
|
11
|
+
|
|
7
12
|
## [11.4.2] - 2018-05-10
|
|
8
13
|
### Fixed
|
|
9
14
|
- Handle case where a prefix is used and no objects are found. (@akatch)
|
|
@@ -473,7 +478,8 @@ WARNING: This release contains major breaking changes that will impact all user
|
|
|
473
478
|
### Added
|
|
474
479
|
- initial release
|
|
475
480
|
|
|
476
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.
|
|
481
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.5.0...HEAD
|
|
482
|
+
[11.5.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.2...11.5.0
|
|
477
483
|
[11.4.2]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.1...11.4.2
|
|
478
484
|
[11.4.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.4.0...11.4.1
|
|
479
485
|
[11.4.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/11.3.1...11.4.0
|
data/bin/handler-ses.rb
CHANGED
|
@@ -41,7 +41,7 @@ class SESNotifier < Sensu::Handler
|
|
|
41
41
|
|
|
42
42
|
def build_mail_to_list
|
|
43
43
|
json_config = config[:json_config] || 'ses'
|
|
44
|
-
mail_to = @event['client']['mail_to'] || settings[json_config]['mail_to']
|
|
44
|
+
mail_to = @event['check']['mail_to'] || @event['client']['mail_to'] || settings[json_config]['mail_to']
|
|
45
45
|
if settings[json_config].key?('subscriptions')
|
|
46
46
|
@event['check']['subscribers'].each do |sub|
|
|
47
47
|
if settings[json_config]['subscriptions'].key?(sub)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 11.
|
|
4
|
+
version: 11.5.0
|
|
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-05-
|
|
11
|
+
date: 2018-05-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -449,7 +449,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
449
449
|
version: '0'
|
|
450
450
|
requirements: []
|
|
451
451
|
rubyforge_project:
|
|
452
|
-
rubygems_version: 2.7.
|
|
452
|
+
rubygems_version: 2.7.7
|
|
453
453
|
signing_key:
|
|
454
454
|
specification_version: 4
|
|
455
455
|
summary: Sensu plugins for working with an AWS environment
|