sensu-plugins-mysql 2.2.0 → 2.2.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 +6 -1
- data/bin/check-mysql-status.rb +5 -1
- data/lib/sensu-plugins-mysql/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: baddc0a5723b41abb3ac70c992d6e187ec596ae8873f55b45603128763a7087f
|
|
4
|
+
data.tar.gz: 7a0c548a8a354e74200f5305289a3560fa646c1c30c469ea27fe7d92850c0538
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73798587a0a64f42d7e80f1254cad4762484bcd59790d979eb5841f323391ba342803f0e575df33af23095d986ceec775631c9bee30a8474ddef88c4e9724b9c
|
|
7
|
+
data.tar.gz: c5afa4efa3be6434402ead37d0820d3d941561dd79f89fa87c5d1ada804d6548160f7ceb6f7a30e8c010d40428c82c229d84cd9560bddee275088b2a6c30a6c3
|
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
|
+
## [2.1.1] - 2018-02-07
|
|
9
|
+
### Fixed
|
|
10
|
+
- check-mysql-status.rb: if --socket flag is specified, it overrides config (@tinle)
|
|
11
|
+
|
|
8
12
|
## [2.2.0] - 2017-11-19
|
|
9
13
|
### Changed
|
|
10
14
|
- check-mysql-alive.rb: Add support for custom section in inifile. (@oba11)
|
|
@@ -110,7 +114,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
110
114
|
### Added
|
|
111
115
|
- initial release
|
|
112
116
|
|
|
113
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.2.
|
|
117
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.2.1...HEAD
|
|
118
|
+
[2.2.1]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.2.0..2.2.1
|
|
114
119
|
[2.2.0]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.1.1...2.2.0
|
|
115
120
|
[2.1.2]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.1.1...2.1.2
|
|
116
121
|
[2.1.1]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.1.0...2.1.1
|
data/bin/check-mysql-status.rb
CHANGED
|
@@ -115,7 +115,11 @@ class CheckMySQLStatus < Sensu::Plugin::Check::CLI
|
|
|
115
115
|
section = ini[config[:ini_section]]
|
|
116
116
|
db_user = section['user']
|
|
117
117
|
db_pass = section['password']
|
|
118
|
-
db_socket =
|
|
118
|
+
db_socket = if config[:socket]
|
|
119
|
+
config[:socket]
|
|
120
|
+
else
|
|
121
|
+
section['socket']
|
|
122
|
+
end
|
|
119
123
|
else
|
|
120
124
|
db_user = config[:user]
|
|
121
125
|
db_pass = config[:password]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-mysql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.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:
|
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: inifile
|
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
247
247
|
version: '0'
|
|
248
248
|
requirements: []
|
|
249
249
|
rubyforge_project:
|
|
250
|
-
rubygems_version: 2.7.
|
|
250
|
+
rubygems_version: 2.7.5
|
|
251
251
|
signing_key:
|
|
252
252
|
specification_version: 4
|
|
253
253
|
summary: Sensu plugins for MySql
|