sensu-plugins-kafka 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65754e8c1e0baa13b3cdf0899acf18e43f0a4324
4
- data.tar.gz: 049a7b8157a9d8a65c7a9ce565b4aab4841996f6
3
+ metadata.gz: a09ab63e78936e0174ef6f8ca7d1e1cea331caf4
4
+ data.tar.gz: 554616f878528db92c56d46ae9763654a0c6e41d
5
5
  SHA512:
6
- metadata.gz: 14f47ddcc363ae87861c322b6ed558b7967e9b1959889a8e316cb94395ad65d5afde86c04b0a649fc00d8a1eeff56b8020c3275df162823ea9ad6da2ac9629ae
7
- data.tar.gz: 0e48d28fdef98c2f3ab7bf852f2809091253f9b253bf2ce85a3037a886dd13ce58cf294c4a585914750340e2921bdb09805d2a2fc885841487b7a6fdfa46c8ae
6
+ metadata.gz: 04932000aa5b1f9f93408fc3b5a4af6b33c438e8c71ff8712dff929ad01a7c86eef7257461d5b5a1ad13ca80d58bcc61ec30a005542853ff45ed266123f2ae8b
7
+ data.tar.gz: 098f6600de86567df678a16b417b06fdd0a02e9ec52915c6af24fb4a7c1adac149c21592910e227dc53fcd6969112aef7848ddf68d8f364699b4c233941a191a
@@ -95,7 +95,7 @@ class ConsumerLagCheck < Sensu::Plugin::Check::CLI
95
95
  end
96
96
 
97
97
  # run command and return a hash from the output
98
- # @param cms [String]
98
+ # @param cmd [String]
99
99
  def run_offset(cmd)
100
100
  read_lines(cmd).drop(1).map do |line|
101
101
  line_to_hash(line, :group, :topic, :pid, :offset, :logsize, :lag, :owner)
@@ -103,7 +103,7 @@ class ConsumerLagCheck < Sensu::Plugin::Check::CLI
103
103
  end
104
104
 
105
105
  # run command and return a hash from the output
106
- # @param cms [String]
106
+ # @param cmd [String]
107
107
  def run_topics(cmd)
108
108
  topics = []
109
109
  read_lines(cmd).map do |line|
data/bin/check-topics.rb CHANGED
@@ -61,7 +61,7 @@ class TopicCheck < Sensu::Plugin::Check::CLI
61
61
  end
62
62
 
63
63
  # run command and return a hash from the output
64
- # @param cms [String]
64
+ # @param cmd [String]
65
65
  def run_cmd(cmd)
66
66
  read_lines(cmd).drop(1).map do |line|
67
67
  line_to_hash(line, :_, :topic, :_, :partition, :_, :leader, :_, :replicas, :_, :isr)
@@ -78,7 +78,7 @@ class ConsumerOffsetMetrics < Sensu::Plugin::Metric::CLI::Graphite
78
78
  end
79
79
 
80
80
  # run command and return a hash from the output
81
- # @param cms [String]
81
+ # @param cmd [String]
82
82
  def run_cmd(cmd)
83
83
  read_lines(cmd).drop(1).map do |line|
84
84
  line_to_hash(line, :group, :topic, :pid, :offset, :logsize, :lag, :owner)
@@ -6,7 +6,7 @@ module SensuPluginsKafka
6
6
  module Version
7
7
  MAJOR = 0
8
8
  MINOR = 1
9
- PATCH = 0
9
+ PATCH = 1
10
10
 
11
11
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -154,9 +154,9 @@ dependencies:
154
154
  description: Sensu plugins for Kafka
155
155
  email: "<sensu-users@googlegroups.com>"
156
156
  executables:
157
- - metrics-consumer.rb
158
157
  - check-consumer-lag.rb
159
158
  - check-topics.rb
159
+ - metrics-consumer.rb
160
160
  extensions: []
161
161
  extra_rdoc_files: []
162
162
  files:
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  requirements: []
196
196
  rubyforge_project:
197
- rubygems_version: 2.4.8
197
+ rubygems_version: 2.4.5
198
198
  signing_key:
199
199
  specification_version: 4
200
200
  summary: Sensu plugins for Kafka