sensu-plugins-mysql 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00f0faaf8dfab6860c08be60b8afa307d1a3cd0d3d726064ec3a595ab9291317
4
- data.tar.gz: 69e069e01e98de450846d64e6d4bb324ea227c89ccdd23d4877d21a916d9742d
3
+ metadata.gz: baddc0a5723b41abb3ac70c992d6e187ec596ae8873f55b45603128763a7087f
4
+ data.tar.gz: 7a0c548a8a354e74200f5305289a3560fa646c1c30c469ea27fe7d92850c0538
5
5
  SHA512:
6
- metadata.gz: de0a27cf35313a4a2e330d175bbf8695524e1a13a7ecdf68bcd76ec0003e6c16375f4c0d7c76a11fd25a52f60a716125acf5137767ace63a2ca94d3208013b5b
7
- data.tar.gz: c2627626aa929925a9697b1ef1d13da422806460e526149590f6256fbb0a19e160c0afa9acc8115911281f9e995450c4bda7c7425f6da777a1d85d3143c268cf
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.0...HEAD
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
@@ -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 = section['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]
@@ -2,7 +2,7 @@ module SensuPluginsMySql
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 2
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.0
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: 2017-11-20 00:00:00.000000000 Z
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.2
250
+ rubygems_version: 2.7.5
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: Sensu plugins for MySql