sensu-plugins-mongodb 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/check-mongodb.py +1 -1
- data/lib/sensu-plugins-mongodb/version.rb +1 -1
- 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: 1701e1b7bac7b8804cc2d4557246db39202d6fc1
|
4
|
+
data.tar.gz: a6b969b2bb28cdeb5ee9ef608ca802e89d0d451a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4b682c94845006aa4c06133a271f5d61566715b67cf9a4495f3413d26607c3d0bbe356bfb5cabfb1dfb4165d1def4b0e702c85ae354d4696debaf5c5421fea4
|
7
|
+
data.tar.gz: 83d158ebeb0dd995c61e7400b09c8a7b628c400f84c6a6ae67e71f67a295080c525c0d983841bb9b622164efea64134c04b7d4b8896d0b839b1767772399d9ab
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [2.0.1] - 2017-10-19
|
9
|
+
### Fixed
|
10
|
+
- updating the read preferences for `2.2`-`2.8` pymongo clients (@urg)
|
11
|
+
|
8
12
|
## [2.0.0] - 2017-09-23
|
9
13
|
### Breaking Change
|
10
14
|
- bumped requirement of `sensu-plugin` [to 2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29) (@majormoses)
|
@@ -121,7 +125,8 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
|
|
121
125
|
### Added
|
122
126
|
- initial release
|
123
127
|
|
124
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.
|
128
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.1...HEAD
|
129
|
+
[2.0.1]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.0...2.0.1
|
125
130
|
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.1...2.0.0
|
126
131
|
[1.4.1]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.0...1.4.1
|
127
132
|
[1.4.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.3.0...1.4.0
|
data/bin/check-mongodb.py
CHANGED
@@ -331,7 +331,7 @@ def exit_with_general_critical(e):
|
|
331
331
|
|
332
332
|
|
333
333
|
def set_read_preference(db):
|
334
|
-
if pymongo.version >= "2.2":
|
334
|
+
if pymongo.version >= "2.2" and pymongo.version < "2.8":
|
335
335
|
pymongo.read_preferences.Secondary
|
336
336
|
else:
|
337
337
|
db.read_preference = pymongo.ReadPreference.SECONDARY
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-mongodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.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
|
+
date: 2017-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bson
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
version: '0'
|
232
232
|
requirements: []
|
233
233
|
rubyforge_project:
|
234
|
-
rubygems_version: 2.6.
|
234
|
+
rubygems_version: 2.6.14
|
235
235
|
signing_key:
|
236
236
|
specification_version: 4
|
237
237
|
summary: Sensu plugins for mongodb
|