sensu-plugins-mongodb 1.4.1 → 2.0.0
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-mongodb-metric.rb +2 -1
- data/lib/sensu-plugins-mongodb/version.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9cad86bbe4e2fdedb6747c2b06690be2a8cb66aa
|
|
4
|
+
data.tar.gz: 90516b7d5df4b221fa7f93188822e13891607a1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38fc0323ac0f053ae14dde243f2f396c0b157719bf4e186e28ebfc94b2a146848cfebe918f8255d94d895d600e8fd1e37f8807e82381ce39dbe499d0cb493d15
|
|
7
|
+
data.tar.gz: 30ef951a0b3ce86c0e9a23178593f21f1fb059c10640b90f1e709b665f7c0a8fd44c4f5c5e88d2cd2a05fadefbcb3548f61a6d9ae571b90cdcca6e4b90d97ff0
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.0.0] - 2017-09-23
|
|
9
|
+
### Breaking Change
|
|
10
|
+
- bumped requirement of `sensu-plugin` [to 2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29) (@majormoses)
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- check-mongodb-metric.rb: make `--metric` required since it is (@majormoses)
|
|
14
|
+
|
|
8
15
|
## [1.4.1] - 2017-09-23
|
|
9
16
|
### Fixed
|
|
10
17
|
- Support for database size metrics (@fandrews)
|
|
@@ -114,7 +121,8 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
|
|
|
114
121
|
### Added
|
|
115
122
|
- initial release
|
|
116
123
|
|
|
117
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/
|
|
124
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.0...HEAD
|
|
125
|
+
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.1...2.0.0
|
|
118
126
|
[1.4.1]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.0...1.4.1
|
|
119
127
|
[1.4.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.3.0...1.4.0
|
|
120
128
|
[1.3.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.2.1...1.3.0
|
data/bin/check-mongodb-metric.rb
CHANGED
|
@@ -95,7 +95,8 @@ class CheckMongodbMetric < Sensu::Plugin::Check::CLI
|
|
|
95
95
|
option :metric,
|
|
96
96
|
description: 'Name of the metric to check',
|
|
97
97
|
long: '--metric METRIC',
|
|
98
|
-
short: '-m METRIC'
|
|
98
|
+
short: '-m METRIC',
|
|
99
|
+
required: true
|
|
99
100
|
|
|
100
101
|
option :warn,
|
|
101
102
|
description: 'Warn if values are above this threshold',
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-mongodb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '2.0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '2.0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: bundler
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|