sensu-plugins-mongodb 0.0.1.alpha.2 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +8 -8
- data/LICENSE +1 -1
- data/README.md +2 -34
- data/bin/check-mongodb.py +1 -1
- data/bin/metrics-mongodb.rb +1 -0
- data/lib/sensu-plugins-mongodb/version.rb +1 -1
- metadata +18 -16
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30a84d495d44c3c1b8518490bcd634bf7a88e284
|
4
|
+
data.tar.gz: 1f5f5711724d738a57d054664d0b0ad1097a9621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d18d9a2bfda51fafd48f6f5100764bad36128df34bde722c862b9429f5778413df37e811aeb03c5260608e2a1eaa6a2cc7633774743b337fbc1bb14c0ad4d02e
|
7
|
+
data.tar.gz: d039d6a3f4f8e8dd0ef2930523db7cb1fade7db1c7ca3aa02ea497277754bf5725b7327df633f7dc3c3caae5ca8588ce57563a690f56fb3c03996d9a65c92449
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
|
1
|
+
#Change Log
|
2
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
2
3
|
|
3
|
-
|
4
|
+
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
4
5
|
|
5
|
-
|
6
|
+
## Unreleased][unreleased]
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
* add new version module
|
8
|
+
## 0.0.1 - 2015-05-20
|
9
|
+
|
10
|
+
### Added
|
11
|
+
- initial release
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mongodb/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mongodb)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mongodb/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-mongodb)
|
7
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-mongodb.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-mongodb)
|
8
|
+
[ ![Codeship Status for sensu-plugins/sensu-plugins-mongodb](https://codeship.com/projects/fb6c0ce0-dc03-0132-9f1d-025863fcc952/status?branch=master)](https://codeship.com/projects/79855)
|
8
9
|
|
9
10
|
## Functionality
|
10
11
|
|
@@ -16,39 +17,6 @@
|
|
16
17
|
|
17
18
|
## Installation
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
```
|
22
|
-
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
|
23
|
-
gem install sensu-plugins-mongodb -P MediumSecurity
|
24
|
-
```
|
25
|
-
|
26
|
-
You can also download the key from /certs/ within each repository.
|
27
|
-
|
28
|
-
#### Rubygems
|
29
|
-
|
30
|
-
`gem install sensu-plugins-mongodb`
|
31
|
-
|
32
|
-
#### Bundler
|
33
|
-
|
34
|
-
Add *sensu-plugins-mongodb* to your Gemfile and run `bundle install` or `bundle update`
|
35
|
-
|
36
|
-
#### Chef
|
37
|
-
|
38
|
-
Using the Sensu **sensu_gem** LWRP
|
39
|
-
```
|
40
|
-
sensu_gem 'sensu-plugins-mongodb' do
|
41
|
-
options('--prerelease')
|
42
|
-
version '0.0.1.alpha.1'
|
43
|
-
end
|
44
|
-
```
|
45
|
-
|
46
|
-
Using the Chef **gem_package** resource
|
47
|
-
```
|
48
|
-
gem_package 'sensu-plugins-mongodb' do
|
49
|
-
options('--prerelease')
|
50
|
-
version '0.0.1.alpha.1'
|
51
|
-
end
|
52
|
-
```
|
20
|
+
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
|
53
21
|
|
54
22
|
## Notes
|
data/bin/check-mongodb.py
CHANGED
@@ -272,7 +272,7 @@ def mongo_connect(host=None, port=None, ssl=False, user=None, passwd=None, repli
|
|
272
272
|
# ssl connection for pymongo > 2.3
|
273
273
|
if pymongo.version >= "2.3":
|
274
274
|
if replica is None:
|
275
|
-
con = pymongo.MongoClient(host, port)
|
275
|
+
con = pymongo.MongoClient(host, port, ssl=ssl)
|
276
276
|
else:
|
277
277
|
con = pymongo.Connection(host, port, read_preference=pymongo.ReadPreference.SECONDARY, ssl=ssl, replicaSet=replica, network_timeout=10)
|
278
278
|
else:
|
data/bin/metrics-mongodb.rb
CHANGED
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-mongodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1
|
4
|
+
version: 0.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:
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: sensu-plugin
|
@@ -52,14 +52,14 @@ dependencies:
|
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 2.0.
|
55
|
+
version: 2.0.4
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 2.0.
|
62
|
+
version: 2.0.4
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: codeclimate-test-reporter
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,16 +78,16 @@ dependencies:
|
|
78
78
|
name: rubocop
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: '0.30'
|
84
84
|
type: :development
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.
|
90
|
+
version: '0.30'
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: rspec
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,7 +186,7 @@ dependencies:
|
|
186
186
|
- - "~>"
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0.10'
|
189
|
-
description: Sensu plugins for
|
189
|
+
description: Sensu plugins for working with MongoDB
|
190
190
|
email: "<sensu-users@googlegroups.com>"
|
191
191
|
executables: []
|
192
192
|
extensions: []
|
@@ -206,7 +206,10 @@ metadata:
|
|
206
206
|
maintainer: ''
|
207
207
|
development_status: active
|
208
208
|
production_status: unstable - testing recommended
|
209
|
-
|
209
|
+
release_draft: 'false'
|
210
|
+
release_prerelease: 'false'
|
211
|
+
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
212
|
+
in /etc/default/sensu
|
210
213
|
rdoc_options: []
|
211
214
|
require_paths:
|
212
215
|
- lib
|
@@ -217,14 +220,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
217
220
|
version: 1.9.3
|
218
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
222
|
requirements:
|
220
|
-
- - "
|
223
|
+
- - ">="
|
221
224
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
225
|
+
version: '0'
|
223
226
|
requirements: []
|
224
227
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.
|
228
|
+
rubygems_version: 2.4.6
|
226
229
|
signing_key:
|
227
230
|
specification_version: 4
|
228
|
-
summary: Sensu plugins for mongodb
|
231
|
+
summary: Sensu plugins for working with mongodb
|
229
232
|
test_files: []
|
230
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|