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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e030b5cd0b60de464db1e487012786502b38f93
4
- data.tar.gz: 97172991de37fa87c9fb7c88ff2c07211e4c842f
3
+ metadata.gz: 30a84d495d44c3c1b8518490bcd634bf7a88e284
4
+ data.tar.gz: 1f5f5711724d738a57d054664d0b0ad1097a9621
5
5
  SHA512:
6
- metadata.gz: fd2e39b1fd3a0b6f7381a97ca830ba7621a05806aa768b280edce48aaf53c78b6567cd330f86298957f45999940247e8e35a8af7a4a2a08f2d149d53f89c815d
7
- data.tar.gz: 5cc8bdf01bd2de21b28861c1f36516f9919f70cb7b73281bfc504a83ac35089740f6595895a70a5298aa2f51e22264386fc23dce5fd4e7214d22354b179cdea4
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
- #### 0.0.1.alpha.1
1
+ #Change Log
2
+ This project adheres to [Semantic Versioning](http://semver.org/).
2
3
 
3
- * identical code to the community-plugins repo
4
+ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
4
5
 
5
- #### 0.0.1.alpha.2
6
+ ## Unreleased][unreleased]
6
7
 
7
- * updated Vagrantfile
8
- * add metadata to gem
9
- * update Readme
10
- * add new version and bump tasks
11
- * add new version module
8
+ ## 0.0.1 - 2015-05-20
9
+
10
+ ### Added
11
+ - initial release
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 devops@yieldbot.com
1
+ Copyright (c) 2015 Sensu-Plugins
2
2
 
3
3
  MIT License
4
4
 
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
- Add the public key (if you haven’t already) as a trusted certificate
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:
@@ -33,6 +33,7 @@ include Mongo
33
33
  #
34
34
  # Mongodb
35
35
  #
36
+
36
37
  class MongoDB < Sensu::Plugin::Metric::CLI::Graphite
37
38
  option :host,
38
39
  description: 'MongoDB host',
@@ -8,7 +8,7 @@ module SensuPluginsMongoDB
8
8
  MINOR = 0
9
9
  PATCH = 1
10
10
 
11
- VER_STRING = [MAJOR, MINOR, PATCH, 'alpha.2'].compact.join('.')
11
+ VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
12
12
 
13
13
  NAME = 'sensu-plugins-mongodb'
14
14
  BANNER = "#{NAME} v%s"
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.alpha.2
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Yieldbot, Inc. and contributors
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-04-07 00:00:00.000000000 Z
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.2
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.2
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.17.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.17.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 mongodb
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
- post_install_message:
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: 1.3.1
225
+ version: '0'
223
226
  requirements: []
224
227
  rubyforge_project:
225
- rubygems_version: 2.2.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