sensu-plugins-cassandra 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c40237352c849d459c7825caa1b0c1cbb75f82c6
4
- data.tar.gz: 39d07f30f89f5cd6bd41566698c2345bf243f1a5
3
+ metadata.gz: e213a797a4fd93fb509b55e5ca8719bd3da1eac9
4
+ data.tar.gz: 0c2b06c76abba17af0f2769671257f8ed8d7e248
5
5
  SHA512:
6
- metadata.gz: e49cf9f88491617e67100e6f4854a3ddd333babe87cf6d301679e2b46e33b242d4f65ad33f7c1d31e9d7147705d080d687289dbd52bba3a0c44f9f08a9d6bd77
7
- data.tar.gz: cf4e00f58d2c1912363fca90aecf3778bd9cd1a4efc33faac39b0ab29f0b1de9dd467b6fbfb01d69ce00bd9d88e051410d12b5d7b145b522322a648c4aa5ec88
6
+ metadata.gz: 062bb2405109b6ae2dc8e10d2a0a9e6c5beb0a2a83d4cbe3e3b393940821e080ea923760e35317511ec3c8d405572f3394cd3fbe415f0d0ffc93ac5b5900cf81
7
+ data.tar.gz: d53058713cc7bda8de652b0fa04df1c2d246e2b4664e15cce27c05a414c6122975b05a41d0cc01d17eae6de3e9bc462de404a380115b4246a9a457689d1ce6f5
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- ��v�����C&�p! ����R����
2
- G����$Z��gg�/Bs(
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
+
@@ -14,6 +14,7 @@
14
14
  #
15
15
  # DEPENDENCIES:
16
16
  # gem: sensu-plugin
17
+ # gem: english
17
18
  # Cassandra's nodetool
18
19
  #
19
20
  # USAGE:
@@ -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, _) = m.captures
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,14 +1 @@
1
1
  require 'sensu-plugins-cassandra/version'
2
-
3
- # Load the defaults
4
-
5
- #
6
- # Default class
7
- #
8
- module SensuPluginsCassandra
9
- class << self
10
- end
11
-
12
- class << self
13
- end
14
- end
@@ -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 = 1
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.1
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-05-04 00:00:00.000000000 Z
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 working with cassandra
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: unmaintained
208
+ maintainer: sensu-plugin
209
+ development_status: active
208
210
  production_status: unstable - testing recommended
209
- releae_draft: 'false'
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 working with cassandra
233
+ summary: Sensu plugins for the Cassandra NoSQL database server
232
234
  test_files: []
metadata.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- }[)P3��*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
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�}