sensu-plugins-mysql 3.1.0 → 3.1.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: 00bad3fc713f6812222e0256b8495ec87d6cf0c64668d7caad5d64f58841a5ce
4
- data.tar.gz: 69e155cf7bc0370fe2f21a425cd727fce4c444de31c9a8731d69501588a3cbb2
3
+ metadata.gz: 4f4e28c5fe85bbb08ea031b00e2f59ab2aa87659ab13d8956815cb30a327a659
4
+ data.tar.gz: c597db8661b11a7cc1a4d57afcca1295d89e152bfdf53440ee13d503ec20c36f
5
5
  SHA512:
6
- metadata.gz: 1a391131fbca828fcab9759aec2a593e964cc09a486bb614fb90e9f06e2893abb24cf63df68dd14559c9cd09d277df3e9bf05433d370d5e10860f385aa1f7a03
7
- data.tar.gz: b0a6e03148a3038376e501d1c11283ae1cff8f1e3bc756eb91e8439553b313f35b781dd184b1e21ecec49ad30362b27528cac1ba3c24dde6b626844ff482d03b
6
+ metadata.gz: d2724a9e0af371a833139e5fb60356612a9e2e9a9626459dfb3cf6afc3c0b3bd3bf70a5cf0cee0eff42494763ac033e5dda17f194acc3ab182a96f4ad64a8361
7
+ data.tar.gz: 7c04bd29f0a1e41782dd90cea6744dd674951d42cb398e482af97975229c4bf37ffa5e9b109f8dabf2212e1b9a33e2c971b0721cac851204f1d8dba70c4305c9
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [3.1.1] - 2019-03-04
9
+ ### Fixed
10
+ - check-mysql-disk.rb: update defaults for float and integer values as a string as the defaults apparently do not execute the proc which would have properly converted it to the appropriate type (@majormoses)
11
+
8
12
  ## [3.1.0] - 2018-12-15
9
13
  ### Added
10
14
  - metrics-mysql-multiple-select-countcript (@nagyt234)
@@ -156,7 +160,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
156
160
  ### Added
157
161
  - initial release
158
162
 
159
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/3.0.0...HEAD
163
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/3.1.1...HEAD
164
+ [3.1.1]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/3.1.0...3.1.1
160
165
  [3.1.0]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/3.0.0...3.1.0
161
166
  [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.7.0...3.0.0
162
167
  [2.7.0]: https://github.com/sensu-plugins/sensu-plugins-mysql/compare/2.6.0...2.7.0
@@ -52,21 +52,21 @@ class CheckMysqlDisk < Sensu::Plugin::Check::CLI
52
52
  long: '--warning=VALUE',
53
53
  description: 'Warning threshold',
54
54
  proc: proc(&:to_f),
55
- default: '85'
55
+ default: 85
56
56
 
57
57
  option :crit,
58
58
  short: '-c',
59
59
  long: '--critical=VALUE',
60
60
  description: 'Critical threshold',
61
61
  proc: proc(&:to_f),
62
- default: '95'
62
+ default: 95
63
63
 
64
64
  option :port,
65
65
  description: 'Port to connect to',
66
66
  short: '-P PORT',
67
67
  long: '--port PORT',
68
68
  proc: proc(&:to_i),
69
- default: '3306'
69
+ default: 3306
70
70
 
71
71
  option :socket,
72
72
  description: 'Socket to use',
@@ -2,7 +2,7 @@ module SensuPluginsMySql
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 1
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: 3.1.0
4
+ version: 3.1.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: 2018-12-15 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile
@@ -254,8 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
254
  - !ruby/object:Gem::Version
255
255
  version: '0'
256
256
  requirements: []
257
- rubyforge_project:
258
- rubygems_version: 2.7.8
257
+ rubygems_version: 3.0.3
259
258
  signing_key:
260
259
  specification_version: 4
261
260
  summary: Sensu plugins for MySql