sensu-plugins-percona 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +12 -0
- data/LICENSE +22 -0
- data/README.md +22 -0
- data/bin/check-percona-cluster-size.rb +75 -0
- data/bin/metrics-percona-cluster.rb +125 -0
- data/lib/sensu-plugins-percona.rb +1 -0
- data/lib/sensu-plugins-percona/version.rb +9 -0
- metadata +262 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1da0af5907c1a7a42adaad2d3c8bddc28488fc14
|
4
|
+
data.tar.gz: fee406c3becc4dbb810037022672e48757388a03
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f15ecc49c2d1e890e024ab85c4841682dce560f21b88f6e07b177a1958332fdbb0ba2312701edb26458d16912c97cdd5c7f22047e310f3e00988a1f723fc157d
|
7
|
+
data.tar.gz: 4d7a0a7d30fb3f60eba47cc8941d776f2c6b7fe5b3231c6444dda48e980dbcdd5de057a573bcf64f89f8f2ac2cb7d9f4e5762e2ed68ed181afc0425f3c27498a
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
#Change Log
|
2
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
|
+
|
4
|
+
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
|
+
|
6
|
+
## Unreleased][unreleased]
|
7
|
+
|
8
|
+
## [0.0.1] - 2015-06-11
|
9
|
+
|
10
|
+
### Added
|
11
|
+
- initial release
|
12
|
+
- added ability to use ini files
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Sensu-Plugins
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
## Sensu-Plugins-percona
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-percona.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-percona)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-percona.svg)](http://badge.fury.io/rb/sensu-plugins-percona)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-percona/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-percona)
|
6
|
+
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-percona/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-percona)
|
7
|
+
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-percona.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-percona)
|
8
|
+
[ ![Codeship Status for sensu-plugins/sensu-plugins-percona](https://codeship.com/projects/ebcee170-e948-0132-7604-26b28b7b5489/status?branch=master)](https://codeship.com/projects/82928)
|
9
|
+
|
10
|
+
## Functionality
|
11
|
+
|
12
|
+
## Files
|
13
|
+
* bin/check-percona-cluster-size.rb
|
14
|
+
* bin/metrics-percona-cluster.rb
|
15
|
+
|
16
|
+
## Usage
|
17
|
+
|
18
|
+
## Installation
|
19
|
+
|
20
|
+
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
|
21
|
+
|
22
|
+
## Notes
|
@@ -0,0 +1,75 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Percona Cluster Size Plugin
|
4
|
+
# ===
|
5
|
+
#
|
6
|
+
# This plugin checks the number of servers in the Percona cluster and warns you according to specified limits
|
7
|
+
#
|
8
|
+
# Copyright 2012 Chris Alexander <chris.alexander@import.io>, import.io
|
9
|
+
# Based on the MySQL Health Plugin by Panagiotis Papadomitsos
|
10
|
+
#
|
11
|
+
# Depends on mysql:
|
12
|
+
# gem install mysql
|
13
|
+
#
|
14
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE
|
15
|
+
# for details.
|
16
|
+
|
17
|
+
require 'sensu-plugin/check/cli'
|
18
|
+
require 'mysql'
|
19
|
+
require 'inifile'
|
20
|
+
|
21
|
+
class CheckPerconaClusterSize < Sensu::Plugin::Check::CLI
|
22
|
+
option :user,
|
23
|
+
description: 'MySQL User',
|
24
|
+
short: '-u USER',
|
25
|
+
long: '--user USER',
|
26
|
+
default: 'root'
|
27
|
+
|
28
|
+
option :password,
|
29
|
+
description: 'MySQL Password',
|
30
|
+
short: '-p PASS',
|
31
|
+
long: '--password PASS'
|
32
|
+
|
33
|
+
option :hostname,
|
34
|
+
description: 'Hostname to login to',
|
35
|
+
short: '-h HOST',
|
36
|
+
long: '--hostname HOST',
|
37
|
+
default: 'localhost'
|
38
|
+
|
39
|
+
option :expected,
|
40
|
+
description: 'Number of servers expected in the cluster',
|
41
|
+
short: '-e NUMBER',
|
42
|
+
long: '--expected NUMBER',
|
43
|
+
default: 1
|
44
|
+
|
45
|
+
option :ini,
|
46
|
+
description: 'ini file',
|
47
|
+
short: '-i',
|
48
|
+
long: '--ini VALUE'
|
49
|
+
|
50
|
+
def run
|
51
|
+
if config[:ini]
|
52
|
+
update_config
|
53
|
+
end
|
54
|
+
db = Mysql.real_connect(config[:hostname], config[:user], config[:password], config[:database])
|
55
|
+
cluster_size = db
|
56
|
+
.query("SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size'")
|
57
|
+
.fetch_hash
|
58
|
+
.fetch('Value')
|
59
|
+
.to_i
|
60
|
+
critical "Expected to find #{config[:expected]} nodes, found #{cluster_size}" if cluster_size != config[:expected].to_i
|
61
|
+
ok "Expected to find #{config[:expected]} nodes and found those #{cluster_size}" if cluster_size == config[:expected].to_i
|
62
|
+
rescue Mysql::Error => e
|
63
|
+
critical "Percona MySQL check failed: #{e.error}"
|
64
|
+
ensure
|
65
|
+
db.close if db
|
66
|
+
end
|
67
|
+
|
68
|
+
def update_config
|
69
|
+
ini = IniFile.load(config[:ini])
|
70
|
+
section = ini['client']
|
71
|
+
section.each do |key, option|
|
72
|
+
config[key.to_sym] = option
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,125 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Percona cluster stats into graphite
|
4
|
+
# ===
|
5
|
+
#
|
6
|
+
# Copyright 2012 Pete Shima <me@peteshima.com>, Chris Alexander <chris.alexander@import.io>
|
7
|
+
# Additional hacks by Joe Miller - https://github.com/joemiller
|
8
|
+
# Modified for Percona cluster statistics by Chris Alexander, import.io - https://github.com/chrisalexander - https://github.com/import-io
|
9
|
+
#
|
10
|
+
# Depends on mysql2:
|
11
|
+
# gem install mysql2
|
12
|
+
#
|
13
|
+
# This will not return anything on MySQL servers, or on Percona servers that do not have clustering running
|
14
|
+
#
|
15
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE
|
16
|
+
# for details.
|
17
|
+
|
18
|
+
require 'sensu-plugin/metric/cli'
|
19
|
+
require 'mysql2'
|
20
|
+
require 'socket'
|
21
|
+
|
22
|
+
class PerconaCluster2Graphite < Sensu::Plugin::Metric::CLI::Graphite
|
23
|
+
option :host,
|
24
|
+
short: '-h HOST',
|
25
|
+
long: '--host HOST',
|
26
|
+
description: 'Mysql Host to connect to',
|
27
|
+
required: true
|
28
|
+
|
29
|
+
option :port,
|
30
|
+
short: '-P PORT',
|
31
|
+
long: '--port PORT',
|
32
|
+
description: 'Mysql Port to connect to',
|
33
|
+
proc: proc(&:to_i),
|
34
|
+
default: 3306
|
35
|
+
|
36
|
+
option :username,
|
37
|
+
short: '-u USERNAME',
|
38
|
+
long: '--user USERNAME',
|
39
|
+
description: 'Mysql Username',
|
40
|
+
required: true
|
41
|
+
|
42
|
+
option :password,
|
43
|
+
short: '-p PASSWORD',
|
44
|
+
long: '--pass PASSWORD',
|
45
|
+
description: 'Mysql password',
|
46
|
+
default: ''
|
47
|
+
|
48
|
+
option :scheme,
|
49
|
+
description: 'Metric naming scheme, text to prepend to metric',
|
50
|
+
short: '-s SCHEME',
|
51
|
+
long: '--scheme SCHEME',
|
52
|
+
default: "#{Socket.gethostname}.percona"
|
53
|
+
|
54
|
+
def fix_and_output_evs_repl_latency_data(row)
|
55
|
+
# see https://github.com/codership/galera/issues/67 for documentation on field mappings
|
56
|
+
data = row['Value'].split('/')
|
57
|
+
output "#{config[:scheme]}.mysql.wsrep_evs_repl_latency_min", data[0]
|
58
|
+
output "#{config[:scheme]}.mysql.wsrep_evs_repl_latency_avg", data[1]
|
59
|
+
output "#{config[:scheme]}.mysql.wsrep_evs_repl_latency_max", data[2]
|
60
|
+
output "#{config[:scheme]}.mysql.wsrep_evs_repl_latency_stddev", data[3]
|
61
|
+
output "#{config[:scheme]}.mysql.wsrep_evs_repl_latency_samplesize", data[4]
|
62
|
+
end
|
63
|
+
|
64
|
+
def run
|
65
|
+
metrics = {
|
66
|
+
'cluster' => {
|
67
|
+
'wsrep_last_committed' => 'last_committed',
|
68
|
+
'wsrep_replicated' => 'replicated',
|
69
|
+
'wsrep_replicated_bytes' => 'replicated_bytes',
|
70
|
+
'wsrep_received' => 'received',
|
71
|
+
'wsrep_received_bytes' => 'received_bytes',
|
72
|
+
'wsrep_local_commits' => 'local_commits',
|
73
|
+
'wsrep_local_cert_failures' => 'local_cert_failures',
|
74
|
+
'wsrep_local_bf_aborts' => 'local_bf_aborts',
|
75
|
+
'wsrep_local_replays' => 'local_replays',
|
76
|
+
'wsrep_local_send_queue' => 'local_send_queue',
|
77
|
+
'wsrep_local_send_queue_avg' => 'local_send_queue_avg',
|
78
|
+
'wsrep_local_recv_queue' => 'local_recv_queue',
|
79
|
+
'wsrep_local_recv_queue_avg' => 'local_recv_queue_avg',
|
80
|
+
'wsrep_flow_control_paused' => 'flow_control_paused',
|
81
|
+
'wsrep_flow_control_sent' => 'flow_control_sent',
|
82
|
+
'wsrep_flow_control_recv' => 'flow_control_recv',
|
83
|
+
'wsrep_cert_deps_distance' => 'cert_deps_distance',
|
84
|
+
'wsrep_apply_oooe' => 'apply_oooe',
|
85
|
+
'wsrep_apply_oool' => 'apply_oool',
|
86
|
+
'wsrep_apply_window' => 'apply_window',
|
87
|
+
'wsrep_commit_oooe' => 'commit_oooe',
|
88
|
+
'wsrep_commit_oool' => 'commit_oool',
|
89
|
+
'wsrep_commit_window' => 'commit_window',
|
90
|
+
'wsrep_local_state' => 'local_state',
|
91
|
+
'wsrep_cert_index_size' => 'cert_index_size',
|
92
|
+
'wsrep_causal_reads' => 'causal_reads',
|
93
|
+
'wsrep_cluster_conf_id' => 'cluster_conf_id',
|
94
|
+
'wsrep_cluster_size' => 'cluster_size',
|
95
|
+
'wsrep_local_index' => 'local_index',
|
96
|
+
'wsrep_evs_repl_latency' => 'evs_repl_latency'
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
begin
|
101
|
+
mysql = Mysql2::Client.new(
|
102
|
+
host: config[:host],
|
103
|
+
port: config[:port],
|
104
|
+
username: config[:username],
|
105
|
+
password: config[:password]
|
106
|
+
)
|
107
|
+
|
108
|
+
results = mysql.query("SHOW GLOBAL STATUS LIKE 'wsrep_%'")
|
109
|
+
rescue => e
|
110
|
+
puts e.message
|
111
|
+
end
|
112
|
+
|
113
|
+
results.each do |row|
|
114
|
+
# special handling for wsrep_evs_repl_latency as this contains forward slash delimited data
|
115
|
+
fix_and_output_evs_repl_latency_data(row) if row['Variable_name'] == 'wsrep_evs_repl_latency'
|
116
|
+
metrics.each do |category, var_mapping|
|
117
|
+
if var_mapping.key?(row['Variable_name'])
|
118
|
+
output "#{config[:scheme]}.mysql.#{category}.#{var_mapping[row['Variable_name']]}", row['Value']
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
ok
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'sensu-plugins-percona/version'
|
metadata
ADDED
@@ -0,0 +1,262 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sensu-plugins-percona
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sensu-Plugins and contributors
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
|
14
|
+
am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
|
15
|
+
A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
|
16
|
+
CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
|
17
|
+
LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
|
18
|
+
CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
|
19
|
+
zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
|
20
|
+
qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
|
21
|
+
k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
|
22
|
+
oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
|
23
|
+
0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
|
24
|
+
HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
|
25
|
+
QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
|
26
|
+
MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
|
27
|
+
rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
|
28
|
+
UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
|
29
|
+
JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
|
30
|
+
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
|
+
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
34
|
+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: sensu-plugin
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 1.1.0
|
42
|
+
type: :runtime
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 1.1.0
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: mysql
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 2.9.1
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.9.1
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: mysql2
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.3.18
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.3.18
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: inifile
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 3.0.0
|
84
|
+
type: :runtime
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 3.0.0
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: bundler
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '1.7'
|
98
|
+
type: :development
|
99
|
+
prerelease: false
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '1.7'
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: codeclimate-test-reporter
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0.4'
|
112
|
+
type: :development
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0.4'
|
119
|
+
- !ruby/object:Gem::Dependency
|
120
|
+
name: rubocop
|
121
|
+
requirement: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - '='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0.30'
|
126
|
+
type: :development
|
127
|
+
prerelease: false
|
128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - '='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0.30'
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: github-markup
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '1.3'
|
140
|
+
type: :development
|
141
|
+
prerelease: false
|
142
|
+
version_requirements: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '1.3'
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: pry
|
149
|
+
requirement: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0.10'
|
154
|
+
type: :development
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0.10'
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
name: rspec
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '3.1'
|
168
|
+
type: :development
|
169
|
+
prerelease: false
|
170
|
+
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '3.1'
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
name: rake
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '10.0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "~>"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '10.0'
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: redcarpet
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '3.2'
|
196
|
+
type: :development
|
197
|
+
prerelease: false
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - "~>"
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '3.2'
|
203
|
+
- !ruby/object:Gem::Dependency
|
204
|
+
name: yard
|
205
|
+
requirement: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - "~>"
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0.8'
|
210
|
+
type: :development
|
211
|
+
prerelease: false
|
212
|
+
version_requirements: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - "~>"
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0.8'
|
217
|
+
description: Sensu percona plugins
|
218
|
+
email: "<sensu-users@googlegroups.com>"
|
219
|
+
executables:
|
220
|
+
- metrics-percona-cluster.rb
|
221
|
+
- check-percona-cluster-size.rb
|
222
|
+
extensions: []
|
223
|
+
extra_rdoc_files: []
|
224
|
+
files:
|
225
|
+
- CHANGELOG.md
|
226
|
+
- LICENSE
|
227
|
+
- README.md
|
228
|
+
- bin/check-percona-cluster-size.rb
|
229
|
+
- bin/metrics-percona-cluster.rb
|
230
|
+
- lib/sensu-plugins-percona.rb
|
231
|
+
- lib/sensu-plugins-percona/version.rb
|
232
|
+
homepage: https://github.com/sensu-plugins/sensu-plugins-percona
|
233
|
+
licenses:
|
234
|
+
- MIT
|
235
|
+
metadata:
|
236
|
+
maintainer: sensu-plugin
|
237
|
+
development_status: active
|
238
|
+
production_status: unstable - testing recommended
|
239
|
+
release_draft: 'false'
|
240
|
+
release_prerelease: 'false'
|
241
|
+
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
242
|
+
in /etc/default/sensu
|
243
|
+
rdoc_options: []
|
244
|
+
require_paths:
|
245
|
+
- lib
|
246
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 1.9.3
|
251
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - ">="
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: '0'
|
256
|
+
requirements: []
|
257
|
+
rubyforge_project:
|
258
|
+
rubygems_version: 2.4.6
|
259
|
+
signing_key:
|
260
|
+
specification_version: 4
|
261
|
+
summary: Sensu plugins for percona
|
262
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|