sensu-plugins-mongodb 0.0.3 → 0.0.4
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 +1 -1
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +16 -8
- data/README.md +1 -1
- data/bin/metrics-mongodb.rb +3 -1
- data/lib/sensu-plugins-mongodb/version.rb +1 -1
- metadata +71 -38
- 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: 4e2ab74c7f77a0bfdebcab9aa2e160bf99ccb103
|
4
|
+
data.tar.gz: 77a732675fa8c87c4a4f38edd48f65ae8673b45a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31fe971def9daa515971c56c7265fe9782c427c34c2fc22a81d8bab89f8efffcf274132ca4b6408663de629113eeea9301052e202e585d94ffcf24b48c3b84a3
|
7
|
+
data.tar.gz: cd4b1c87c141a300083fcfc7339743ae4e728eef78c2cdada8ab6c5601ca7846514ab3434c026092f5dc99d2808b3b38f2cd71061de8e3613c9d945ebb7aae4c
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
��?ȼ]�w���ηɰ�5)/�
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -3,21 +3,29 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
|
-
## Unreleased
|
6
|
+
## Unreleased
|
7
|
+
|
8
|
+
## [0.0.4] - 2015-08-12
|
9
|
+
### Changed
|
10
|
+
- general gem cleanup
|
11
|
+
- bump rubocop
|
7
12
|
|
8
13
|
## [0.0.3] - 2015-07-14
|
9
14
|
### Changed
|
10
15
|
- updated sensu-plugin gem to 1.2.0
|
11
16
|
|
12
|
-
## 0.0.1 - 2015-05-20
|
13
|
-
|
14
|
-
### Added
|
15
|
-
- initial release
|
16
|
-
|
17
17
|
## [0.0.2] - 2015-06-03
|
18
|
-
|
19
18
|
### Fixed
|
20
19
|
- added binstubs
|
21
20
|
|
22
21
|
### Changed
|
23
|
-
- removed cruft from /lib
|
22
|
+
- removed cruft from /lib
|
23
|
+
|
24
|
+
## 0.0.1 - 2015-05-20
|
25
|
+
### Added
|
26
|
+
- initial release
|
27
|
+
|
28
|
+
[unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/0.0.4...HEAD
|
29
|
+
[0.0.4]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/0.0.3...0.0.4
|
30
|
+
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/0.0.2...0.0.3
|
31
|
+
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
data/bin/metrics-mongodb.rb
CHANGED
@@ -13,6 +13,8 @@
|
|
13
13
|
# DEPENDENCIES:
|
14
14
|
# gem: sensu-plugin
|
15
15
|
# gem: mongo
|
16
|
+
# gem: bson
|
17
|
+
# gem: bson_ext
|
16
18
|
#
|
17
19
|
# USAGE:
|
18
20
|
# #YELLOW
|
@@ -61,7 +63,7 @@ class MongoDB < Sensu::Plugin::Metric::CLI::Graphite
|
|
61
63
|
short: '-s SCHEME',
|
62
64
|
default: "#{Socket.gethostname}.mongodb"
|
63
65
|
|
64
|
-
def run
|
66
|
+
def run
|
65
67
|
host = config[:host]
|
66
68
|
port = config[:port]
|
67
69
|
db_name = 'admin'
|
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: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
@@ -30,92 +30,120 @@ cert_chain:
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
36
|
+
name: bson
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.2
|
41
|
+
version: 1.9.2
|
42
42
|
type: :runtime
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.2
|
48
|
+
version: 1.9.2
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: bson_ext
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 1.9.2
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.9.2
|
49
63
|
- !ruby/object:Gem::Dependency
|
50
64
|
name: mongo
|
51
65
|
requirement: !ruby/object:Gem::Requirement
|
52
66
|
requirements:
|
53
67
|
- - '='
|
54
68
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
69
|
+
version: 1.9.2
|
56
70
|
type: :runtime
|
57
71
|
prerelease: false
|
58
72
|
version_requirements: !ruby/object:Gem::Requirement
|
59
73
|
requirements:
|
60
74
|
- - '='
|
61
75
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
76
|
+
version: 1.9.2
|
63
77
|
- !ruby/object:Gem::Dependency
|
64
|
-
name:
|
78
|
+
name: sensu-plugin
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.2.0
|
84
|
+
type: :runtime
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 1.2.0
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: bundler
|
65
93
|
requirement: !ruby/object:Gem::Requirement
|
66
94
|
requirements:
|
67
95
|
- - "~>"
|
68
96
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
97
|
+
version: '1.7'
|
70
98
|
type: :development
|
71
99
|
prerelease: false
|
72
100
|
version_requirements: !ruby/object:Gem::Requirement
|
73
101
|
requirements:
|
74
102
|
- - "~>"
|
75
103
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
104
|
+
version: '1.7'
|
77
105
|
- !ruby/object:Gem::Dependency
|
78
|
-
name:
|
106
|
+
name: codeclimate-test-reporter
|
79
107
|
requirement: !ruby/object:Gem::Requirement
|
80
108
|
requirements:
|
81
|
-
- -
|
109
|
+
- - "~>"
|
82
110
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
111
|
+
version: '0.4'
|
84
112
|
type: :development
|
85
113
|
prerelease: false
|
86
114
|
version_requirements: !ruby/object:Gem::Requirement
|
87
115
|
requirements:
|
88
|
-
- -
|
116
|
+
- - "~>"
|
89
117
|
- !ruby/object:Gem::Version
|
90
|
-
version: '0.
|
118
|
+
version: '0.4'
|
91
119
|
- !ruby/object:Gem::Dependency
|
92
|
-
name:
|
120
|
+
name: github-markup
|
93
121
|
requirement: !ruby/object:Gem::Requirement
|
94
122
|
requirements:
|
95
123
|
- - "~>"
|
96
124
|
- !ruby/object:Gem::Version
|
97
|
-
version: '3
|
125
|
+
version: '1.3'
|
98
126
|
type: :development
|
99
127
|
prerelease: false
|
100
128
|
version_requirements: !ruby/object:Gem::Requirement
|
101
129
|
requirements:
|
102
130
|
- - "~>"
|
103
131
|
- !ruby/object:Gem::Version
|
104
|
-
version: '3
|
132
|
+
version: '1.3'
|
105
133
|
- !ruby/object:Gem::Dependency
|
106
|
-
name:
|
134
|
+
name: pry
|
107
135
|
requirement: !ruby/object:Gem::Requirement
|
108
136
|
requirements:
|
109
137
|
- - "~>"
|
110
138
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
139
|
+
version: '0.10'
|
112
140
|
type: :development
|
113
141
|
prerelease: false
|
114
142
|
version_requirements: !ruby/object:Gem::Requirement
|
115
143
|
requirements:
|
116
144
|
- - "~>"
|
117
145
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
146
|
+
version: '0.10'
|
119
147
|
- !ruby/object:Gem::Dependency
|
120
148
|
name: rake
|
121
149
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,66 +159,71 @@ dependencies:
|
|
131
159
|
- !ruby/object:Gem::Version
|
132
160
|
version: '10.0'
|
133
161
|
- !ruby/object:Gem::Dependency
|
134
|
-
name:
|
162
|
+
name: redcarpet
|
135
163
|
requirement: !ruby/object:Gem::Requirement
|
136
164
|
requirements:
|
137
165
|
- - "~>"
|
138
166
|
- !ruby/object:Gem::Version
|
139
|
-
version: '
|
167
|
+
version: '3.2'
|
140
168
|
type: :development
|
141
169
|
prerelease: false
|
142
170
|
version_requirements: !ruby/object:Gem::Requirement
|
143
171
|
requirements:
|
144
172
|
- - "~>"
|
145
173
|
- !ruby/object:Gem::Version
|
146
|
-
version: '
|
174
|
+
version: '3.2'
|
147
175
|
- !ruby/object:Gem::Dependency
|
148
|
-
name:
|
176
|
+
name: rspec
|
149
177
|
requirement: !ruby/object:Gem::Requirement
|
150
178
|
requirements:
|
151
179
|
- - "~>"
|
152
180
|
- !ruby/object:Gem::Version
|
153
|
-
version: '3.
|
181
|
+
version: '3.1'
|
154
182
|
type: :development
|
155
183
|
prerelease: false
|
156
184
|
version_requirements: !ruby/object:Gem::Requirement
|
157
185
|
requirements:
|
158
186
|
- - "~>"
|
159
187
|
- !ruby/object:Gem::Version
|
160
|
-
version: '3.
|
188
|
+
version: '3.1'
|
161
189
|
- !ruby/object:Gem::Dependency
|
162
|
-
name:
|
190
|
+
name: rubocop
|
163
191
|
requirement: !ruby/object:Gem::Requirement
|
164
192
|
requirements:
|
165
|
-
- -
|
193
|
+
- - '='
|
166
194
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
195
|
+
version: 0.32.1
|
168
196
|
type: :development
|
169
197
|
prerelease: false
|
170
198
|
version_requirements: !ruby/object:Gem::Requirement
|
171
199
|
requirements:
|
172
|
-
- -
|
200
|
+
- - '='
|
173
201
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
202
|
+
version: 0.32.1
|
175
203
|
- !ruby/object:Gem::Dependency
|
176
|
-
name:
|
204
|
+
name: yard
|
177
205
|
requirement: !ruby/object:Gem::Requirement
|
178
206
|
requirements:
|
179
207
|
- - "~>"
|
180
208
|
- !ruby/object:Gem::Version
|
181
|
-
version: '0.
|
209
|
+
version: '0.8'
|
182
210
|
type: :development
|
183
211
|
prerelease: false
|
184
212
|
version_requirements: !ruby/object:Gem::Requirement
|
185
213
|
requirements:
|
186
214
|
- - "~>"
|
187
215
|
- !ruby/object:Gem::Version
|
188
|
-
version: '0.
|
189
|
-
description:
|
216
|
+
version: '0.8'
|
217
|
+
description: |-
|
218
|
+
This plugin provides native MongoDB
|
219
|
+
instrumentation for monitoring and metrics
|
220
|
+
collection, including: service health, database
|
221
|
+
connectivity, replication lag/status, `oplog`
|
222
|
+
monitoring, collection-specific metrics, and
|
223
|
+
more.
|
190
224
|
email: "<sensu-users@googlegroups.com>"
|
191
225
|
executables:
|
192
226
|
- metrics-mongodb.rb
|
193
|
-
- check-mongodb.py
|
194
227
|
extensions: []
|
195
228
|
extra_rdoc_files: []
|
196
229
|
files:
|
@@ -227,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
260
|
version: '0'
|
228
261
|
requirements: []
|
229
262
|
rubyforge_project:
|
230
|
-
rubygems_version: 2.4.
|
263
|
+
rubygems_version: 2.4.8
|
231
264
|
signing_key:
|
232
265
|
specification_version: 4
|
233
266
|
summary: Sensu plugins for mongodb
|
metadata.gz.sig
CHANGED
Binary file
|