sensu-plugins-mysql 3.1.0 → 3.1.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-disk.rb +3 -3
- data/lib/sensu-plugins-mysql/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f4e28c5fe85bbb08ea031b00e2f59ab2aa87659ab13d8956815cb30a327a659
|
|
4
|
+
data.tar.gz: c597db8661b11a7cc1a4d57afcca1295d89e152bfdf53440ee13d503ec20c36f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2724a9e0af371a833139e5fb60356612a9e2e9a9626459dfb3cf6afc3c0b3bd3bf70a5cf0cee0eff42494763ac033e5dda17f194acc3ab182a96f4ad64a8361
|
|
7
|
+
data.tar.gz: 7c04bd29f0a1e41782dd90cea6744dd674951d42cb398e482af97975229c4bf37ffa5e9b109f8dabf2212e1b9a33e2c971b0721cac851204f1d8dba70c4305c9
|
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
|
+
## [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.
|
|
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
|
data/bin/check-mysql-disk.rb
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
69
|
+
default: 3306
|
|
70
70
|
|
|
71
71
|
option :socket,
|
|
72
72
|
description: 'Socket to use',
|
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.
|
|
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:
|
|
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
|
-
|
|
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
|