sensu-plugins-mysql 2.6.0 → 3.2.0

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.
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  #
3
5
  # MySQL Query Result Count Metric
4
6
  #
@@ -86,15 +88,12 @@ class MysqlQueryCountMetric < Sensu::Plugin::Metric::CLI::Graphite
86
88
 
87
89
  output config[:name], length
88
90
  ok
89
-
90
91
  rescue Mysql::Error => e
91
92
  errstr = "Error code: #{e.errno} Error message: #{e.error}"
92
93
  critical "#{errstr} SQLSTATE: #{e.sqlstate}" if e.respond_to?('sqlstate')
93
-
94
- rescue => e
94
+ rescue StandardError => e
95
95
  critical e
96
-
97
96
  ensure
98
- db.close if db
97
+ db&.close
99
98
  end
100
99
  end
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  #
3
5
  # MySQL metrics Plugin without mysql gem requirement
4
6
  # ===
@@ -160,111 +162,111 @@ class MetricsMySQLRaw < Sensu::Plugin::Metric::CLI::Graphite
160
162
  def metrics_hash
161
163
  metrics = {
162
164
  'general' => {
163
- 'Bytes_received' => 'rxBytes',
164
- 'Bytes_sent' => 'txBytes',
165
- 'Key_read_requests' => 'keyRead_requests',
166
- 'Key_reads' => 'keyReads',
167
- 'Key_write_requests' => 'keyWrite_requests',
168
- 'Key_writes' => 'keyWrites',
169
- 'Binlog_cache_use' => 'binlogCacheUse',
170
- 'Binlog_cache_disk_use' => 'binlogCacheDiskUse',
171
- 'Max_used_connections' => 'maxUsedConnections',
172
- 'Aborted_clients' => 'abortedClients',
173
- 'Aborted_connects' => 'abortedConnects',
174
- 'Threads_connected' => 'threadsConnected',
175
- 'Open_files' => 'openFiles',
176
- 'Open_tables' => 'openTables',
177
- 'Opened_tables' => 'openedTables',
178
- 'Prepared_stmt_count' => 'preparedStmtCount',
179
- 'Seconds_Behind_Master' => 'slaveLag',
180
- 'Select_full_join' => 'fullJoins',
165
+ 'Bytes_received' => 'rxBytes',
166
+ 'Bytes_sent' => 'txBytes',
167
+ 'Key_read_requests' => 'keyRead_requests',
168
+ 'Key_reads' => 'keyReads',
169
+ 'Key_write_requests' => 'keyWrite_requests',
170
+ 'Key_writes' => 'keyWrites',
171
+ 'Binlog_cache_use' => 'binlogCacheUse',
172
+ 'Binlog_cache_disk_use' => 'binlogCacheDiskUse',
173
+ 'Max_used_connections' => 'maxUsedConnections',
174
+ 'Aborted_clients' => 'abortedClients',
175
+ 'Aborted_connects' => 'abortedConnects',
176
+ 'Threads_connected' => 'threadsConnected',
177
+ 'Open_files' => 'openFiles',
178
+ 'Open_tables' => 'openTables',
179
+ 'Opened_tables' => 'openedTables',
180
+ 'Prepared_stmt_count' => 'preparedStmtCount',
181
+ 'Seconds_Behind_Master' => 'slaveLag',
182
+ 'Select_full_join' => 'fullJoins',
181
183
  'Select_full_range_join' => 'fullRangeJoins',
182
- 'Select_range' => 'selectRange',
183
- 'Select_range_check' => 'selectRange_check',
184
- 'Select_scan' => 'selectScan',
185
- 'Slow_queries' => 'slowQueries'
184
+ 'Select_range' => 'selectRange',
185
+ 'Select_range_check' => 'selectRange_check',
186
+ 'Select_scan' => 'selectScan',
187
+ 'Slow_queries' => 'slowQueries'
186
188
  },
187
189
  'querycache' => {
188
- 'Qcache_queries_in_cache' => 'queriesInCache',
189
- 'Qcache_hits' => 'cacheHits',
190
- 'Qcache_inserts' => 'inserts',
191
- 'Qcache_not_cached' => 'notCached',
192
- 'Qcache_lowmem_prunes' => 'lowMemPrunes',
193
- 'Qcache_free_memory' => 'freeMemory'
190
+ 'Qcache_queries_in_cache' => 'queriesInCache',
191
+ 'Qcache_hits' => 'cacheHits',
192
+ 'Qcache_inserts' => 'inserts',
193
+ 'Qcache_not_cached' => 'notCached',
194
+ 'Qcache_lowmem_prunes' => 'lowMemPrunes',
195
+ 'Qcache_free_memory' => 'freeMemory'
194
196
  },
195
197
  'commands' => {
196
198
  'Com_admin_commands' => 'admin_commands',
197
- 'Com_begin' => 'begin',
198
- 'Com_change_db' => 'change_db',
199
- 'Com_commit' => 'commit',
200
- 'Com_create_table' => 'create_table',
201
- 'Com_drop_table' => 'drop_table',
202
- 'Com_show_keys' => 'show_keys',
203
- 'Com_delete' => 'delete',
204
- 'Com_create_db' => 'create_db',
205
- 'Com_grant' => 'grant',
199
+ 'Com_begin' => 'begin',
200
+ 'Com_change_db' => 'change_db',
201
+ 'Com_commit' => 'commit',
202
+ 'Com_create_table' => 'create_table',
203
+ 'Com_drop_table' => 'drop_table',
204
+ 'Com_show_keys' => 'show_keys',
205
+ 'Com_delete' => 'delete',
206
+ 'Com_create_db' => 'create_db',
207
+ 'Com_grant' => 'grant',
206
208
  'Com_show_processlist' => 'show_processlist',
207
- 'Com_flush' => 'flush',
208
- 'Com_insert' => 'insert',
209
- 'Com_purge' => 'purge',
210
- 'Com_replace' => 'replace',
211
- 'Com_rollback' => 'rollback',
212
- 'Com_select' => 'select',
213
- 'Com_set_option' => 'set_option',
214
- 'Com_show_binlogs' => 'show_binlogs',
209
+ 'Com_flush' => 'flush',
210
+ 'Com_insert' => 'insert',
211
+ 'Com_purge' => 'purge',
212
+ 'Com_replace' => 'replace',
213
+ 'Com_rollback' => 'rollback',
214
+ 'Com_select' => 'select',
215
+ 'Com_set_option' => 'set_option',
216
+ 'Com_show_binlogs' => 'show_binlogs',
215
217
  'Com_show_databases' => 'show_databases',
216
- 'Com_show_fields' => 'show_fields',
217
- 'Com_show_status' => 'show_status',
218
- 'Com_show_tables' => 'show_tables',
218
+ 'Com_show_fields' => 'show_fields',
219
+ 'Com_show_status' => 'show_status',
220
+ 'Com_show_tables' => 'show_tables',
219
221
  'Com_show_variables' => 'show_variables',
220
- 'Com_update' => 'update',
221
- 'Com_drop_db' => 'drop_db',
222
- 'Com_revoke' => 'revoke',
223
- 'Com_drop_user' => 'drop_user',
224
- 'Com_show_grants' => 'show_grants',
225
- 'Com_lock_tables' => 'lock_tables',
222
+ 'Com_update' => 'update',
223
+ 'Com_drop_db' => 'drop_db',
224
+ 'Com_revoke' => 'revoke',
225
+ 'Com_drop_user' => 'drop_user',
226
+ 'Com_show_grants' => 'show_grants',
227
+ 'Com_lock_tables' => 'lock_tables',
226
228
  'Com_show_create_table' => 'show_create_table',
227
- 'Com_unlock_tables' => 'unlock_tables',
228
- 'Com_alter_table' => 'alter_table'
229
+ 'Com_unlock_tables' => 'unlock_tables',
230
+ 'Com_alter_table' => 'alter_table'
229
231
  },
230
232
  'counters' => {
231
- 'Handler_write' => 'handlerWrite',
232
- 'Handler_update' => 'handlerUpdate',
233
- 'Handler_delete' => 'handlerDelete',
234
- 'Handler_read_first' => 'handlerRead_first',
235
- 'Handler_read_key' => 'handlerRead_key',
236
- 'Handler_read_next' => 'handlerRead_next',
237
- 'Handler_read_prev' => 'handlerRead_prev',
238
- 'Handler_read_rnd' => 'handlerRead_rnd',
239
- 'Handler_read_rnd_next' => 'handlerRead_rnd_next',
240
- 'Handler_commit' => 'handlerCommit',
241
- 'Handler_rollback' => 'handlerRollback',
242
- 'Handler_savepoint' => 'handlerSavepoint',
233
+ 'Handler_write' => 'handlerWrite',
234
+ 'Handler_update' => 'handlerUpdate',
235
+ 'Handler_delete' => 'handlerDelete',
236
+ 'Handler_read_first' => 'handlerRead_first',
237
+ 'Handler_read_key' => 'handlerRead_key',
238
+ 'Handler_read_next' => 'handlerRead_next',
239
+ 'Handler_read_prev' => 'handlerRead_prev',
240
+ 'Handler_read_rnd' => 'handlerRead_rnd',
241
+ 'Handler_read_rnd_next' => 'handlerRead_rnd_next',
242
+ 'Handler_commit' => 'handlerCommit',
243
+ 'Handler_rollback' => 'handlerRollback',
244
+ 'Handler_savepoint' => 'handlerSavepoint',
243
245
  'Handler_savepoint_rollback' => 'handlerSavepointRollback'
244
246
  },
245
247
  'innodb' => {
246
- 'Innodb_buffer_pool_pages_total' => 'bufferTotal_pages',
247
- 'Innodb_buffer_pool_pages_free' => 'bufferFree_pages',
248
- 'Innodb_buffer_pool_pages_dirty' => 'bufferDirty_pages',
249
- 'Innodb_buffer_pool_pages_data' => 'bufferUsed_pages',
250
- 'Innodb_page_size' => 'pageSize',
251
- 'Innodb_pages_created' => 'pagesCreated',
252
- 'Innodb_pages_read' => 'pagesRead',
253
- 'Innodb_pages_written' => 'pagesWritten',
254
- 'Innodb_row_lock_current_waits' => 'currentLockWaits',
255
- 'Innodb_row_lock_waits' => 'lockWaitTimes',
256
- 'Innodb_row_lock_time' => 'rowLockTime',
257
- 'Innodb_data_reads' => 'fileReads',
258
- 'Innodb_data_writes' => 'fileWrites',
259
- 'Innodb_data_fsyncs' => 'fileFsyncs',
260
- 'Innodb_log_writes' => 'logWrites',
261
- 'Innodb_rows_updated' => 'rowsUpdated',
262
- 'Innodb_rows_read' => 'rowsRead',
263
- 'Innodb_rows_deleted' => 'rowsDeleted',
264
- 'Innodb_rows_inserted' => 'rowsInserted'
248
+ 'Innodb_buffer_pool_pages_total' => 'bufferTotal_pages',
249
+ 'Innodb_buffer_pool_pages_free' => 'bufferFree_pages',
250
+ 'Innodb_buffer_pool_pages_dirty' => 'bufferDirty_pages',
251
+ 'Innodb_buffer_pool_pages_data' => 'bufferUsed_pages',
252
+ 'Innodb_page_size' => 'pageSize',
253
+ 'Innodb_pages_created' => 'pagesCreated',
254
+ 'Innodb_pages_read' => 'pagesRead',
255
+ 'Innodb_pages_written' => 'pagesWritten',
256
+ 'Innodb_row_lock_current_waits' => 'currentLockWaits',
257
+ 'Innodb_row_lock_waits' => 'lockWaitTimes',
258
+ 'Innodb_row_lock_time' => 'rowLockTime',
259
+ 'Innodb_data_reads' => 'fileReads',
260
+ 'Innodb_data_writes' => 'fileWrites',
261
+ 'Innodb_data_fsyncs' => 'fileFsyncs',
262
+ 'Innodb_log_writes' => 'logWrites',
263
+ 'Innodb_rows_updated' => 'rowsUpdated',
264
+ 'Innodb_rows_read' => 'rowsRead',
265
+ 'Innodb_rows_deleted' => 'rowsDeleted',
266
+ 'Innodb_rows_inserted' => 'rowsInserted'
265
267
  },
266
268
  'configuration' => {
267
- 'Max_prepared_stmt_count' => 'MaxPreparedStmtCount'
269
+ 'Max_prepared_stmt_count' => 'MaxPreparedStmtCount'
268
270
  }
269
271
  }
270
272
  metrics
@@ -299,7 +301,7 @@ class MetricsMySQLRaw < Sensu::Plugin::Metric::CLI::Graphite
299
301
  output "#{config[:scheme]}.#{mysql_shorthostname}.general.#{metrics['general'][key]}", value
300
302
  end
301
303
  end
302
- rescue => e
304
+ rescue StandardError => e
303
305
  puts "Error querying slave status: #{e}" if config[:verbose]
304
306
  end
305
307
 
@@ -332,14 +334,15 @@ class MetricsMySQLRaw < Sensu::Plugin::Metric::CLI::Graphite
332
334
  end
333
335
  end
334
336
  end
335
- rescue => e
337
+ rescue StandardError => e
336
338
  puts e.message
337
339
  end
338
340
 
339
341
  # Fetch MySQL metrics
340
342
  def fetcher(db_user, db_pass, db_socket)
341
343
  metrics = metrics_hash
342
- if config[:check] == 'metric'
344
+ # FIXME: this needs refactoring
345
+ if config[:check] == 'metric' # rubocop:disable Style/GuardClause
343
346
  mysql_shorthostname = config[:hostname].tr('.', '_')
344
347
  begin
345
348
  table = []
@@ -362,7 +365,7 @@ class MetricsMySQLRaw < Sensu::Plugin::Metric::CLI::Graphite
362
365
  table.each do |row|
363
366
  metrics.each do |category, var_mapping|
364
367
  row_var_name = row['Variable_name'].to_s
365
- var_mapping.keys.each do |vmkey|
368
+ var_mapping.each_key do |vmkey|
366
369
  if row_var_name.to_s == vmkey.to_s
367
370
  prefix = "#{config[:scheme]}.#{mysql_shorthostname}.#{category}.#{vmkey[row_var_name]}"
368
371
  output prefix, row['Value'] unless mysql_shorthostname.to_s.chomp.empty?
@@ -373,7 +376,7 @@ class MetricsMySQLRaw < Sensu::Plugin::Metric::CLI::Graphite
373
376
  # Slave and configuration metrics here
374
377
  slave_metrics(metrics)
375
378
  configuration_metrics(metrics, db_user, db_pass, db_socket)
376
- rescue => e
379
+ rescue StandardError => e
377
380
  critical "Error message: status: #{status} | Exception: #{e.backtrace}"
378
381
  ensure
379
382
  ok ''
@@ -0,0 +1,101 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
4
+ #
5
+ # MySQL Select Count Metric
6
+ #
7
+ # Creates a graphite-formatted metric for the first value of a result set from a MySQL query.
8
+ #
9
+ # Copyright 2017 Andrew Thal <athal7@me.com>
10
+ # Copyright 2018 Tibor Nagy <nagyt@hu.inter.net>
11
+ #
12
+ # Released under the same terms as Sensu (the MIT license); see LICENSE
13
+ # for details.
14
+
15
+ require 'sensu-plugin/metric/cli'
16
+ require 'mysql'
17
+ require 'inifile'
18
+
19
+ class MysqlQueryCountMetric < Sensu::Plugin::Metric::CLI::Graphite
20
+ option :host,
21
+ short: '-h HOST',
22
+ long: '--host HOST',
23
+ description: 'MySQL Host to connect to',
24
+ required: true
25
+
26
+ option :port,
27
+ short: '-P PORT',
28
+ long: '--port PORT',
29
+ description: 'MySQL Port to connect to',
30
+ proc: proc(&:to_i),
31
+ default: 3306
32
+
33
+ option :username,
34
+ short: '-u USERNAME',
35
+ long: '--user USERNAME',
36
+ description: 'MySQL Username'
37
+
38
+ option :password,
39
+ short: '-p PASSWORD',
40
+ long: '--pass PASSWORD',
41
+ description: 'MySQL password'
42
+
43
+ option :database,
44
+ short: '-d DATABASE',
45
+ long: '--database DATABASE',
46
+ description: 'MySQL database',
47
+ default: ''
48
+
49
+ option :ini,
50
+ short: '-i',
51
+ long: '--ini VALUE',
52
+ description: 'My.cnf ini file'
53
+
54
+ option :ini_section,
55
+ description: 'Section in my.cnf ini file',
56
+ long: '--ini-section VALUE',
57
+ default: 'client'
58
+
59
+ option :socket,
60
+ short: '-S SOCKET',
61
+ long: '--socket SOCKET',
62
+ description: 'MySQL Unix socket to connect to'
63
+
64
+ option :name,
65
+ short: '-n NAME',
66
+ long: '--name NAME',
67
+ description: 'Metric name for a configured handler',
68
+ default: 'mysql.query_count'
69
+
70
+ option :query,
71
+ short: '-q SELECT_COUNT_QUERY',
72
+ long: '--query SELECT_COUNT_QUERY',
73
+ description: 'Query to execute',
74
+ required: true
75
+
76
+ def run
77
+ if config[:ini]
78
+ ini = IniFile.load(config[:ini])
79
+ section = ini[config[:ini_section]]
80
+ db_user = section['user']
81
+ db_pass = section['password']
82
+ else
83
+ db_user = config[:username]
84
+ db_pass = config[:password]
85
+ end
86
+ raise "invalid query : #{config[:query]}" unless config[:query] =~ /^select\s+count\(\s*\*\s*\)/i
87
+
88
+ db = Mysql.real_connect(config[:host], db_user, db_pass, config[:database], config[:port], config[:socket])
89
+ count = db.query(config[:query]).fetch_row[0].to_i
90
+
91
+ output config[:name], count
92
+ ok
93
+ rescue Mysql::Error => e
94
+ errstr = "Error code: #{e.errno} Error message: #{e.error}"
95
+ critical "#{errstr} SQLSTATE: #{e.sqlstate}" if e.respond_to?('sqlstate')
96
+ rescue StandardError => e
97
+ critical "unhandled exception: #{e}"
98
+ ensure
99
+ db&.close
100
+ end
101
+ end
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  #
3
5
  # Copyright 2014 Paulo Miguel Almeida Rodenas (paulo.ubuntu@gmail.com)
4
6
  #
@@ -52,7 +54,7 @@ class MysqlMetric < Sensu::Handler
52
54
  puts e.errno
53
55
  puts e.error
54
56
  ensure
55
- con.close if con
57
+ con&.close
56
58
  end
57
59
  end
58
60
  end
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'sensu-plugins-mysql/version'
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SensuPluginsMySql
2
4
  module Version
3
- MAJOR = 2
4
- MINOR = 6
5
+ MAJOR = 3
6
+ MINOR = 2
5
7
  PATCH = 0
6
8
 
7
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-17 00:00:00.000000000 Z
11
+ date: 2020-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile
@@ -44,56 +44,56 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.2'
47
+ version: '4.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.2'
54
+ version: '4.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: codeclimate-test-reporter
56
+ name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.4'
61
+ version: '2.1'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.4'
68
+ version: '2.1'
69
69
  - !ruby/object:Gem::Dependency
70
- name: bundler
70
+ name: codeclimate-test-reporter
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.7'
75
+ version: '1.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.7'
82
+ version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: github-markup
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.3'
89
+ version: '3.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.3'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '10.0'
117
+ version: '13.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '10.0'
124
+ version: '13.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: redcarpet
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.40.0
159
+ version: 0.81.0
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.40.0
166
+ version: 0.81.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: yard
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -186,21 +186,23 @@ description: |-
186
186
  sending metrics to a MySQL database.
187
187
  email: "<sensu-users@googlegroups.com>"
188
188
  executables:
189
+ - check-mysql-replication-status.rb
189
190
  - metrics-mysql.rb
191
+ - check-mysql-threads.rb
190
192
  - metrics-mysql-query-result-count.rb
191
- - check-mysql-replication-status.rb
193
+ - check-mysql-connections.rb
192
194
  - check-mysql-innodb-lock.rb
195
+ - metrics-mysql-select-count.rb
196
+ - check-mysql-status.rb
197
+ - metrics-mysql-graphite.rb
198
+ - check-mysql-alive.rb
199
+ - metrics-mysql-processes.rb
200
+ - metrics-mysql-multiple-select-count.rb
193
201
  - metrics-mysql-raw.rb
194
- - check-mysql-connections.rb
195
202
  - check-mysql-select-count.rb
196
- - check-mysql-disk.rb
197
203
  - check-mysql-msr-replication-status.rb
198
- - metrics-mysql-processes.rb
199
- - check-mysql-status.rb
200
204
  - check-mysql-query-result-count.rb
201
- - check-mysql-threads.rb
202
- - check-mysql-alive.rb
203
- - metrics-mysql-graphite.rb
205
+ - check-mysql-disk.rb
204
206
  extensions: []
205
207
  extra_rdoc_files: []
206
208
  files:
@@ -218,9 +220,11 @@ files:
218
220
  - bin/check-mysql-status.rb
219
221
  - bin/check-mysql-threads.rb
220
222
  - bin/metrics-mysql-graphite.rb
223
+ - bin/metrics-mysql-multiple-select-count.rb
221
224
  - bin/metrics-mysql-processes.rb
222
225
  - bin/metrics-mysql-query-result-count.rb
223
226
  - bin/metrics-mysql-raw.rb
227
+ - bin/metrics-mysql-select-count.rb
224
228
  - bin/metrics-mysql.rb
225
229
  - bin/mysql-metrics.sql
226
230
  - lib/sensu-plugins-mysql.rb
@@ -243,15 +247,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
247
  requirements:
244
248
  - - ">="
245
249
  - !ruby/object:Gem::Version
246
- version: 2.0.0
250
+ version: 2.3.0
247
251
  required_rubygems_version: !ruby/object:Gem::Requirement
248
252
  requirements:
249
253
  - - ">="
250
254
  - !ruby/object:Gem::Version
251
255
  version: '0'
252
256
  requirements: []
253
- rubyforge_project:
254
- rubygems_version: 2.7.8
257
+ rubygems_version: 3.0.8
255
258
  signing_key:
256
259
  specification_version: 4
257
260
  summary: Sensu plugins for MySql