sensu-plugins-cassandra 0.0.1 → 0.0.2
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 +3 -2
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +9 -3
- data/bin/check-cassandra-schema.rb +1 -0
- data/bin/metrics-cassandra-graphite.rb +1 -1
- data/lib/sensu-plugins-cassandra.rb +0 -13
- data/lib/sensu-plugins-cassandra/version.rb +1 -20
- metadata +10 -8
- metadata.gz.sig +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e213a797a4fd93fb509b55e5ca8719bd3da1eac9
|
4
|
+
data.tar.gz: 0c2b06c76abba17af0f2769671257f8ed8d7e248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 062bb2405109b6ae2dc8e10d2a0a9e6c5beb0a2a83d4cbe3e3b393940821e080ea923760e35317511ec3c8d405572f3394cd3fbe415f0d0ffc93ac5b5900cf81
|
7
|
+
data.tar.gz: d53058713cc7bda8de652b0fa04df1c2d246e2b4664e15cce27c05a414c6122975b05a41d0cc01d17eae6de3e9bc462de404a380115b4246a9a457689d1ce6f5
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
��
|
2
|
-
|
1
|
+
��g����3}i��#�-͗sQ�D��
|
2
|
+
���6��;��.��[� ��EU߷rccbO�������-�QV�u�!Wz%otԒmh
|
3
|
+
�$8q�[ё�����TI�*>G����`}t��OHF�x}'��4�h�>UT[(W�����:��Agd���q5v��mܤ�S0_)H
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
Change Log
|
2
|
-
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
|
-
|
4
1
|
#Change Log
|
5
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
6
3
|
|
@@ -12,3 +9,12 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
12
9
|
|
13
10
|
### Added
|
14
11
|
- initial release
|
12
|
+
|
13
|
+
## [0.0.2] - 2015-06-02
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
- added binstubs
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
- removed cruft from /lib
|
20
|
+
|
@@ -254,7 +254,7 @@ class CassandraMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
254
254
|
next if line.match(/^Message type/)
|
255
255
|
|
256
256
|
if m = line.match(/^(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/)# rubocop:disable all
|
257
|
-
(thread, active, pending, completed, blocked
|
257
|
+
(thread, active, pending, completed, blocked) = m.captures
|
258
258
|
|
259
259
|
output "#{config[:scheme]}.threadpool.#{thread}.active", active, @timestamp
|
260
260
|
output "#{config[:scheme]}.threadpool.#{thread}.pending", pending, @timestamp
|
@@ -1,28 +1,9 @@
|
|
1
|
-
require 'json'
|
2
|
-
|
3
|
-
# encoding: utf-8
|
4
1
|
module SensuPluginsCassandra
|
5
|
-
# This defines the version of the gem
|
6
2
|
module Version
|
7
3
|
MAJOR = 0
|
8
4
|
MINOR = 0
|
9
|
-
PATCH =
|
5
|
+
PATCH = 2
|
10
6
|
|
11
7
|
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
8
|
end
|
28
9
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-cassandra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu Plugins and contributors
|
@@ -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-06-03 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: sensu-plugin
|
@@ -186,9 +186,11 @@ dependencies:
|
|
186
186
|
- - "~>"
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0.10'
|
189
|
-
description: Sensu plugins for
|
189
|
+
description: Sensu plugins for the Cassandra NoSQL database server
|
190
190
|
email: "<sensu-users@googlegroups.com>"
|
191
|
-
executables:
|
191
|
+
executables:
|
192
|
+
- metrics-cassandra-graphite.rb
|
193
|
+
- check-cassandra-schema.rb
|
192
194
|
extensions: []
|
193
195
|
extra_rdoc_files: []
|
194
196
|
files:
|
@@ -203,10 +205,10 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-cassandra
|
|
203
205
|
licenses:
|
204
206
|
- MIT
|
205
207
|
metadata:
|
206
|
-
maintainer:
|
207
|
-
development_status:
|
208
|
+
maintainer: sensu-plugin
|
209
|
+
development_status: active
|
208
210
|
production_status: unstable - testing recommended
|
209
|
-
|
211
|
+
release_draft: 'false'
|
210
212
|
release_prerelease: 'false'
|
211
213
|
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
212
214
|
in /etc/default/sensu
|
@@ -228,5 +230,5 @@ rubyforge_project:
|
|
228
230
|
rubygems_version: 2.4.6
|
229
231
|
signing_key:
|
230
232
|
specification_version: 4
|
231
|
-
summary: Sensu plugins for
|
233
|
+
summary: Sensu plugins for the Cassandra NoSQL database server
|
232
234
|
test_files: []
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
@�
|
3
|
-
]�(YʠA��njp�"��g?�JG�bk+�&-aDH�~$m��t;�.<��Ջ����2݅�q ѽ��(���O�[��e.68�&��#��'Х��,(>���rmI���C����#�(��[�v
|
1
|
+
�lJ$'R/���-��I��67���\�����B���\�L����տ?jg:x�d Д����"_Ѿ����z
|
2
|
+
�+�E)�:��4x��U����:���'3wW�ܨ�$�W�e����g�r�k����ŝ��j�?��@�CCb"yB�#';-������ҿ�7P�����P�m�}
|