sensu-plugins-aws 18.4.1 → 18.4.2
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-rds.rb +2 -2
- data/lib/sensu-plugins-aws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6b3463eeb37eec8717ee8d375bab0a6cbaf222cd9c1cc732bc2b89d600acd8b
|
|
4
|
+
data.tar.gz: dc09e19965e9c4f0e7d39f882bb793e960efa125961eba76f5e7b722bd4abf8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7deb8036dca239d9c6c252efd1067378e4a06e1d1448aa3029b57dea7968738d09baabcbc39e2a90547453709d72c0cf625c80b9f3bf8bb7d54aab6ad8290e1f
|
|
7
|
+
data.tar.gz: 401a4c0388a510e10da6f24f32ec76c7babfaa0154238a18adfac53ff0a8528a3e98afcfaf8ad6ad887b77ddd7a660bc9b82b91c20c37f7fe399d7f2f393a01f
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [18.4.2] - 2019-09-23
|
|
9
|
+
### Fixed
|
|
10
|
+
- Properly parse `--db-cluster-id` option in `check-rds.rb` (@rwha)
|
|
11
|
+
|
|
8
12
|
|
|
9
13
|
## [18.4.1] - 2019-08-21
|
|
10
14
|
### Security
|
|
@@ -591,7 +595,8 @@ WARNING: This release contains major breaking changes that will impact all user
|
|
|
591
595
|
### Added
|
|
592
596
|
- initial release
|
|
593
597
|
|
|
594
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.
|
|
598
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.2...HEAD
|
|
599
|
+
[18.4.2]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.1...18.4.2
|
|
595
600
|
[18.4.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.0...18.4.1
|
|
596
601
|
[18.4.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.3.0...18.4.0
|
|
597
602
|
[18.3.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.2.0...18.3.0
|
data/bin/check-rds.rb
CHANGED
|
@@ -161,7 +161,7 @@ class CheckRDS < Sensu::Plugin::Check::CLI
|
|
|
161
161
|
|
|
162
162
|
def find_db_cluster_writer(id)
|
|
163
163
|
wr = rds.describe_db_clusters(db_cluster_identifier: id).db_clusters[0].db_cluster_members.detect(&:is_cluster_writer).db_instance_identifier
|
|
164
|
-
unknown 'DB cluster not found.' if
|
|
164
|
+
unknown 'DB cluster not found.' if wr.nil?
|
|
165
165
|
wr
|
|
166
166
|
end
|
|
167
167
|
|
|
@@ -321,7 +321,7 @@ class CheckRDS < Sensu::Plugin::Check::CLI
|
|
|
321
321
|
def run
|
|
322
322
|
instances = []
|
|
323
323
|
if config[:db_cluster_id]
|
|
324
|
-
db_cluster_writer_id = find_db_cluster_writer(db_cluster_id)
|
|
324
|
+
db_cluster_writer_id = find_db_cluster_writer(config[:db_cluster_id])
|
|
325
325
|
instances << find_db_instance(db_cluster_writer_id)
|
|
326
326
|
end
|
|
327
327
|
|
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: 18.4.
|
|
4
|
+
version: 18.4.2
|
|
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: 2019-
|
|
11
|
+
date: 2019-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|