sensu-plugins-postgres 1.4.5 → 1.4.6
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 +9 -1
- data/bin/check-postgres-replication.rb +1 -0
- data/lib/sensu-plugins-postgres/version.rb +1 -1
- 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: 293228a918cdbfcbe15ead7e0438a2f83ae0e57634ebbbf04136cdf31c5c8731
|
|
4
|
+
data.tar.gz: 158180e2674583f308db8335f971445876a6baec7fd06e16a618d6476b1bb71f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1861ea77b27e3156545eece47bdc367e024a45c2146b62c399cc9138eb71b2cf475232e36432e423e7fc69c349ff3ea85b9fa89af7655ebfb38d9e9050d58d0a
|
|
7
|
+
data.tar.gz: c2af7a5e1033ae73f85dafda7bd90cabb32433ab2ffd4670051747ccdb007ba0960d801127572130a47643ee4033900b9dc5ccebf75922a4755f70f045b1d000
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.4.6] - 2018-05-03
|
|
9
|
+
### Fixed
|
|
10
|
+
- version number check for build strings such as `10.3 (Ubuntu 10.3-1.pgdg16.04+1)`
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- tests for connecting with a pgpass file (@majormoses)
|
|
14
|
+
|
|
8
15
|
## [1.4.5] - 2018-02-15
|
|
9
16
|
### Fixed
|
|
10
17
|
- metric-postgres-graphite.rb: use the custom defined port when connecting to slave (@henkjan)
|
|
@@ -138,7 +145,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
138
145
|
### Added
|
|
139
146
|
- initial release
|
|
140
147
|
|
|
141
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/1.4.
|
|
148
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/1.4.6...HEAD
|
|
149
|
+
[1.4.6]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/1.4.5...1.4.6
|
|
142
150
|
[1.4.5]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/1.4.4...1.4.5
|
|
143
151
|
[1.4.4]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/1.4.3...1.4.4
|
|
144
152
|
[1.4.3]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/1.4.2...1.4.3
|
|
@@ -106,6 +106,7 @@ class CheckPostgresReplicationStatus < Sensu::Plugin::Check::CLI
|
|
|
106
106
|
|
|
107
107
|
def check_vsn(conn)
|
|
108
108
|
pg_vsn = conn.exec("SELECT current_setting('server_version')").getvalue(0, 0)
|
|
109
|
+
pg_vsn = pg_vsn.split(' ')[0]
|
|
109
110
|
Gem::Version.new(pg_vsn) < Gem::Version.new('10.0') && Gem::Version.new(pg_vsn) >= Gem::Version.new('9.0')
|
|
110
111
|
end
|
|
111
112
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-postgres
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.6
|
|
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-
|
|
11
|
+
date: 2018-05-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -324,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
324
324
|
version: '0'
|
|
325
325
|
requirements: []
|
|
326
326
|
rubyforge_project:
|
|
327
|
-
rubygems_version: 2.7.
|
|
327
|
+
rubygems_version: 2.7.6
|
|
328
328
|
signing_key:
|
|
329
329
|
specification_version: 4
|
|
330
330
|
summary: Sensu plugins for postgres
|