sensu-plugins-cassandra 0.0.1.alpha.1 → 0.0.1
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -1
- data/CHANGELOG.md +10 -2
- data/LICENSE +1 -1
- data/README.md +4 -36
- data/lib/sensu-plugins-cassandra.rb +10 -3
- data/lib/sensu-plugins-cassandra/version.rb +28 -0
- metadata +17 -14
- metadata.gz.sig +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c40237352c849d459c7825caa1b0c1cbb75f82c6
|
|
4
|
+
data.tar.gz: 39d07f30f89f5cd6bd41566698c2345bf243f1a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e49cf9f88491617e67100e6f4854a3ddd333babe87cf6d301679e2b46e33b242d4f65ad33f7c1d31e9d7147705d080d687289dbd52bba3a0c44f9f08a9d6bd77
|
|
7
|
+
data.tar.gz: cf4e00f58d2c1912363fca90aecf3778bd9cd1a4efc33faac39b0ab29f0b1de9dd467b6fbfb01d69ce00bd9d88e051410d12b5d7b145b522322a648c4aa5ec88
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
#Change Log
|
|
5
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
|
+
|
|
7
|
+
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
|
8
|
+
|
|
9
|
+
## Unreleased][unreleased]
|
|
10
|
+
|
|
11
|
+
## 0.0.1 - 2015-04-30
|
|
5
12
|
|
|
6
|
-
|
|
13
|
+
### Added
|
|
14
|
+
- initial release
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -5,50 +5,18 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cassandra)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cassandra)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-cassandra)
|
|
8
|
+
[ ](https://codeship.com/projects/77908)
|
|
8
9
|
|
|
9
10
|
## Functionality
|
|
10
11
|
|
|
11
12
|
## Files
|
|
12
|
-
* bin/check-cassandra-schema
|
|
13
|
-
* bin/metrics-cassandra-graphite
|
|
13
|
+
* bin/check-cassandra-schema.rb
|
|
14
|
+
* bin/metrics-cassandra-graphite.rb
|
|
14
15
|
|
|
15
16
|
## Usage
|
|
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-cassandra -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-cassandra`
|
|
31
|
-
|
|
32
|
-
#### Bundler
|
|
33
|
-
|
|
34
|
-
Add *sensu-plugins-cassandra* 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-cassandra' do
|
|
41
|
-
options('--prerelease')
|
|
42
|
-
version '0.0.1'
|
|
43
|
-
end
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Using the Chef **gem_package** resource
|
|
47
|
-
```
|
|
48
|
-
gem_package 'sensu-plugins-cassandra' do
|
|
49
|
-
options('--prerelease')
|
|
50
|
-
version '0.0.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
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
|
|
3
|
+
# encoding: utf-8
|
|
4
|
+
module SensuPluginsCassandra
|
|
5
|
+
# This defines the version of the gem
|
|
6
|
+
module Version
|
|
7
|
+
MAJOR = 0
|
|
8
|
+
MINOR = 0
|
|
9
|
+
PATCH = 1
|
|
10
|
+
|
|
11
|
+
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
|
12
|
+
|
|
13
|
+
NAME = 'sensu-plugins-cassandra'
|
|
14
|
+
BANNER = "#{NAME} v%s"
|
|
15
|
+
|
|
16
|
+
module_function
|
|
17
|
+
|
|
18
|
+
def version
|
|
19
|
+
format(BANNER, VER_STRING)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def json_version
|
|
23
|
+
{
|
|
24
|
+
'version' => VER_STRING
|
|
25
|
+
}.to_json
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-cassandra
|
|
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-04
|
|
33
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: sensu-plugin
|
|
@@ -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
|
|
@@ -198,14 +198,18 @@ files:
|
|
|
198
198
|
- bin/check-cassandra-schema.rb
|
|
199
199
|
- bin/metrics-cassandra-graphite.rb
|
|
200
200
|
- lib/sensu-plugins-cassandra.rb
|
|
201
|
+
- lib/sensu-plugins-cassandra/version.rb
|
|
201
202
|
homepage: https://github.com/sensu-plugins/sensu-plugins-cassandra
|
|
202
203
|
licenses:
|
|
203
204
|
- MIT
|
|
204
205
|
metadata:
|
|
205
206
|
maintainer: ''
|
|
206
|
-
development_status:
|
|
207
|
+
development_status: unmaintained
|
|
207
208
|
production_status: unstable - testing recommended
|
|
208
|
-
|
|
209
|
+
releae_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
|
|
209
213
|
rdoc_options: []
|
|
210
214
|
require_paths:
|
|
211
215
|
- lib
|
|
@@ -216,14 +220,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
216
220
|
version: 1.9.3
|
|
217
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
222
|
requirements:
|
|
219
|
-
- - "
|
|
223
|
+
- - ">="
|
|
220
224
|
- !ruby/object:Gem::Version
|
|
221
|
-
version:
|
|
225
|
+
version: '0'
|
|
222
226
|
requirements: []
|
|
223
227
|
rubyforge_project:
|
|
224
|
-
rubygems_version: 2.
|
|
228
|
+
rubygems_version: 2.4.6
|
|
225
229
|
signing_key:
|
|
226
230
|
specification_version: 4
|
|
227
|
-
summary: Sensu plugins for working with
|
|
231
|
+
summary: Sensu plugins for working with cassandra
|
|
228
232
|
test_files: []
|
|
229
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
}[)P�3��*5L��Y���b�e�2A�ş1��D@�9NȌ�3P?L�*�% V�>�(�v_(}�
|
|
2
|
+
@�D2�?�-.5}���!:<�{l#����f�b ��J���@���XSdmM�����
|
|
3
|
+
]�(YʠA��njp�"��g?�JG�bk+�&-aDH�~$m��t;�.<��Ջ����2݅�q ѽ��(���O�[��e.68�&��#��'Х��,(>���rmI���C����#�(��[�v
|