sensu-plugins-ceph 0.0.1.alpha.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 +6 -0
- data/LICENSE +22 -0
- data/README.md +54 -0
- data/bin/check-ceph.rb +153 -0
- data/bin/metrics-ceph-osd.rb +89 -0
- data/lib/sensu-plugins-ceph.rb +7 -0
- metadata +257 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1e79bf779b820c1a5167a4d3b912eb7a8df6f181
|
4
|
+
data.tar.gz: 6431fce5b3cf4e02e5eb14a7721d774cf810569f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9a3b9ec85572044328e6aa872951ef659dfeb215ab96828a313a9fedf18eda85087c5d3620c53b20d60df6c94b6052a901c00cdf7a0116a43227d95fab021a06
|
7
|
+
data.tar.gz: c1c6e2483b68b46ee434cedc7a3385cad72ebf14d7c8eca4bbf430819bceec2664d92abe1e0d4e8f95f7caa3473be617860be798be0ec58917ad6c224c21ca20
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 devops@yieldbot.com
|
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,54 @@
|
|
1
|
+
## Sensu-Plugins-ceph
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-ceph.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-ceph)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-ceph.svg)](http://badge.fury.io/rb/sensu-plugins-ceph)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ceph/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ceph)
|
6
|
+
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ceph/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ceph)
|
7
|
+
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-ceph.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-ceph)
|
8
|
+
|
9
|
+
## Functionality
|
10
|
+
|
11
|
+
## Files
|
12
|
+
* bin/check-ceph
|
13
|
+
* bin/metrics-ceph-osd
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
## Installation
|
18
|
+
|
19
|
+
Add the public key (if you haven’t already) as a trusted certificate
|
20
|
+
|
21
|
+
```
|
22
|
+
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
|
23
|
+
gem install sensu-plugins-ceph -P MediumSecurity
|
24
|
+
```
|
25
|
+
|
26
|
+
You can also download the key from /certs/ within each repository.
|
27
|
+
|
28
|
+
#### Rubygems
|
29
|
+
|
30
|
+
`gem install sensu-plugins-ceph`
|
31
|
+
|
32
|
+
#### Bundler
|
33
|
+
|
34
|
+
Add *sensu-plugins-ceph* to your Gemfile and run `bundle install` or `bundle update`
|
35
|
+
|
36
|
+
#### Chef
|
37
|
+
|
38
|
+
Using the Sensu **sensu_gem** LWRP
|
39
|
+
```
|
40
|
+
sensu_gem 'sensu-plugins-ceph' do
|
41
|
+
options('--prerelease')
|
42
|
+
version '0.0.1'
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
Using the Chef **gem_package** resource
|
47
|
+
```
|
48
|
+
gem_package 'sensu-plugins-ceph' do
|
49
|
+
options('--prerelease')
|
50
|
+
version '0.0.1'
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
## Notes
|
data/bin/check-ceph.rb
ADDED
@@ -0,0 +1,153 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# check-ceph
|
4
|
+
#
|
5
|
+
# DESCRIPTION:
|
6
|
+
# #YELLOW
|
7
|
+
#
|
8
|
+
# OUTPUT:
|
9
|
+
# plain text
|
10
|
+
#
|
11
|
+
# PLATFORMS:
|
12
|
+
# Linux
|
13
|
+
#
|
14
|
+
# DEPENDENCIES:
|
15
|
+
# gem: sensu-plugin
|
16
|
+
# ceph client
|
17
|
+
#
|
18
|
+
# USAGE:
|
19
|
+
# #YELLOW
|
20
|
+
#
|
21
|
+
# NOTES:
|
22
|
+
# Runs 'ceph health' command(s) to report health status of ceph
|
23
|
+
# cluster. May need read access to ceph keyring and/or root access
|
24
|
+
# for authentication.
|
25
|
+
#
|
26
|
+
# Using -i (--ignore-flags) option allows specific options that are
|
27
|
+
# normally considered Ceph warnings to be overlooked and considered
|
28
|
+
# as 'OK' (e.g. noscrub,nodeep-scrub).
|
29
|
+
#
|
30
|
+
# Using -d (--detailed) and/or -o (--osd-tree) will dramatically increase
|
31
|
+
# verboseness during warning/error reports, however they may add
|
32
|
+
# additional insights to cluster-related problems during notification.
|
33
|
+
#
|
34
|
+
# LICENSE:
|
35
|
+
# Copyright 2013 Brian Clark <brian.clark@cloudapt.com>
|
36
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE
|
37
|
+
# for details.
|
38
|
+
#
|
39
|
+
|
40
|
+
require 'sensu-plugin/check/cli'
|
41
|
+
require 'timeout'
|
42
|
+
require 'English'
|
43
|
+
|
44
|
+
#
|
45
|
+
# Check Ceph Health
|
46
|
+
#
|
47
|
+
class CheckCephHealth < Sensu::Plugin::Check::CLI
|
48
|
+
option :keyring,
|
49
|
+
description: 'Path to cephx authentication keyring file',
|
50
|
+
short: '-k KEY',
|
51
|
+
long: '--keyring',
|
52
|
+
proc: proc { |k| " -k #{k}" }
|
53
|
+
|
54
|
+
option :monitor,
|
55
|
+
description: 'Optional monitor IP',
|
56
|
+
short: '-m MON',
|
57
|
+
long: '--monitor',
|
58
|
+
proc: proc { |m| " -m #{m}" }
|
59
|
+
|
60
|
+
option :cluster,
|
61
|
+
description: 'Optional cluster name',
|
62
|
+
short: '-c NAME',
|
63
|
+
long: '--cluster',
|
64
|
+
proc: proc { |c| " --cluster=#{c}" }
|
65
|
+
|
66
|
+
option :timeout,
|
67
|
+
description: 'Timeout (default 10)',
|
68
|
+
short: '-t SEC',
|
69
|
+
long: '--timeout',
|
70
|
+
proc: proc(&:to_i),
|
71
|
+
default: 10
|
72
|
+
|
73
|
+
option :ignore_flags,
|
74
|
+
description: 'Optional ceph warning flags to ignore',
|
75
|
+
short: '-i FLAG[,FLAG]',
|
76
|
+
long: '--ignore-flags',
|
77
|
+
proc: proc { |f| f.split(',') }
|
78
|
+
|
79
|
+
option :show_detail,
|
80
|
+
description: 'Show ceph health detail on warns/errors (verbose!)',
|
81
|
+
short: '-d',
|
82
|
+
long: '--detailed',
|
83
|
+
boolean: true,
|
84
|
+
default: false
|
85
|
+
|
86
|
+
option :osd_tree,
|
87
|
+
description: 'Show OSD tree on warns/errors (verbose!)',
|
88
|
+
short: '-o',
|
89
|
+
long: '--osd-tree',
|
90
|
+
boolean: true,
|
91
|
+
default: false
|
92
|
+
|
93
|
+
def run_cmd(cmd) # rubocop:disable all
|
94
|
+
pipe, status = nil
|
95
|
+
begin
|
96
|
+
cmd += config[:cluster] if config[:cluster]
|
97
|
+
cmd += config[:keyring] if config[:keyring]
|
98
|
+
cmd += config[:monitor] if config[:monitor]
|
99
|
+
cmd += ' 2>&1'
|
100
|
+
Timeout.timeout(config[:timeout]) do
|
101
|
+
pipe = IO.popen(cmd)
|
102
|
+
Process.wait(pipe.pid)
|
103
|
+
status = $CHILD_STATUS.exitstatus
|
104
|
+
end
|
105
|
+
rescue Timeout::Error
|
106
|
+
begin
|
107
|
+
Process.kill(9, pipe.pid)
|
108
|
+
Process.wait(pipe.pid)
|
109
|
+
rescue Errno::ESRCH, Errno::EPERM
|
110
|
+
# Catch errors from trying to kill the timed-out process
|
111
|
+
# We must do something here to stop travis complaining
|
112
|
+
critical 'Execution timed out'
|
113
|
+
ensure
|
114
|
+
critical 'Execution timed out'
|
115
|
+
end
|
116
|
+
end
|
117
|
+
output = pipe.read
|
118
|
+
critical "Command '#{cmd}' returned no output" if output.to_s == ''
|
119
|
+
critical output unless status == 0
|
120
|
+
output
|
121
|
+
end
|
122
|
+
|
123
|
+
def strip_warns(result)
|
124
|
+
r = result.dup
|
125
|
+
r.gsub!(/HEALTH_WARN\ /, '')
|
126
|
+
.gsub!(/\ ?flag\(s\) set/, '')
|
127
|
+
.gsub!(/\n/, '')
|
128
|
+
config[:ignore_flags].each do |f|
|
129
|
+
r.gsub!(/,?#{f},?/, '')
|
130
|
+
end
|
131
|
+
if r.length == 0
|
132
|
+
result.gsub(/HEALTH_WARN/, 'HEALTH_OK')
|
133
|
+
else
|
134
|
+
result
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
def run # rubocop:disable all
|
139
|
+
result = run_cmd('ceph health')
|
140
|
+
unless result.start_with?('HEALTH_OK')
|
141
|
+
result = strip_warns(result) if config[:ignore_flags]
|
142
|
+
end
|
143
|
+
ok result if result.start_with?('HEALTH_OK')
|
144
|
+
|
145
|
+
result = run_cmd('ceph health detail') if config[:show_detail]
|
146
|
+
result += run_cmd('ceph osd tree') if config[:osd_tree]
|
147
|
+
if result.start_with?('HEALTH_WARN')
|
148
|
+
warning result
|
149
|
+
else
|
150
|
+
critical result
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# ceph-osd-metrics
|
4
|
+
#
|
5
|
+
# DESCRIPTION:
|
6
|
+
# #YELLOW
|
7
|
+
#
|
8
|
+
# OUTPUT:
|
9
|
+
# plain text
|
10
|
+
#
|
11
|
+
# PLATFORMS:
|
12
|
+
# Linux
|
13
|
+
#
|
14
|
+
# DEPENDENCIES:
|
15
|
+
# gem: sensu-plugin
|
16
|
+
# gem: json
|
17
|
+
# ceph client
|
18
|
+
#
|
19
|
+
# USAGE:
|
20
|
+
# #YELLOW
|
21
|
+
#
|
22
|
+
# NOTES:
|
23
|
+
# Dumps performance metrics from Ceph OSD admin socket into graphite-
|
24
|
+
# friendly format. It is up to the implementer to create the admin
|
25
|
+
# socket(s) and to handle the necessary permissions for sensu to access
|
26
|
+
# (sudo, etc.). In the default configuration, admin sockets are expected
|
27
|
+
# to reside in /var/run/ceph with a file format of ceph-osd.*.asok.
|
28
|
+
#
|
29
|
+
# If a different file search pattern is specificied, it is expected to
|
30
|
+
# have exactly one '*' wildcard denoting the OSD number.
|
31
|
+
#
|
32
|
+
# LICENSE:
|
33
|
+
# Copyright 2013 Cloudapt, LLC
|
34
|
+
# Brian Clark <brian.clark@cloudapt.com> and
|
35
|
+
# Mike Dawson <mike.dawson@cloudapt.com>
|
36
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE
|
37
|
+
# for details.
|
38
|
+
#
|
39
|
+
|
40
|
+
require 'sensu-plugin/metric/cli'
|
41
|
+
require 'json'
|
42
|
+
require 'English'
|
43
|
+
|
44
|
+
#
|
45
|
+
# Ceph Osd Metrics
|
46
|
+
#
|
47
|
+
class CephOsdMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
48
|
+
option :scheme,
|
49
|
+
description: 'Metric naming scheme, text prepended to .$parent.$child',
|
50
|
+
long: '--scheme SCHEME',
|
51
|
+
default: 'ceph.osd'
|
52
|
+
|
53
|
+
option :pattern,
|
54
|
+
description: 'Search pattern for sockets (/var/run/ceph/ceph-osd.*.asok)',
|
55
|
+
short: '-p',
|
56
|
+
long: '--pattern',
|
57
|
+
default: '/var/run/ceph/ceph-osd.*.asok'
|
58
|
+
|
59
|
+
def output_data(h, leader)
|
60
|
+
h.each_pair do |key, val|
|
61
|
+
if val.is_a?(Hash)
|
62
|
+
val.each do |k, v|
|
63
|
+
output "#{config[:scheme]}.#{leader}.#{key}_#{k}", v
|
64
|
+
end
|
65
|
+
else
|
66
|
+
output "#{config[:scheme]}.#{leader}.#{key}", val
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
def run # rubocop:disable all
|
72
|
+
# #YELLOW
|
73
|
+
Dir.glob(config[:pattern]).each do |socket| # rubocop:disable Style/Next
|
74
|
+
data = `ceph --admin-daemon #{socket} perf dump`
|
75
|
+
if $CHILD_STATUS.exitstatus == 0
|
76
|
+
# Left side of wildcard
|
77
|
+
strip1 = config[:pattern].match(/^.*\*/).to_s.gsub(/\*/, '')
|
78
|
+
# Right side of wildcard
|
79
|
+
strip2 = config[:pattern].match(/\*.*$/).to_s.gsub(/\*/, '')
|
80
|
+
osd_num = socket.gsub(strip1, '').gsub(strip2, '')
|
81
|
+
JSON.parse(data).each do |k, v|
|
82
|
+
k = k.gsub(/\/$/, '').gsub(/\//, '_')
|
83
|
+
output_data(v, "#{osd_num}.#{k}")
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
ok
|
88
|
+
end
|
89
|
+
end
|
metadata
ADDED
@@ -0,0 +1,257 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sensu-plugins-ceph
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.alpha.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yieldbot, Inc. 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-04-09 00:00:00.000000000 Z
|
34
|
+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: english
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 0.6.3
|
42
|
+
type: :runtime
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 0.6.3
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: timeout
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.0.1
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.0.1
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: json
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.8.2
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.8.2
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: sensu-plugin
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.1.0
|
84
|
+
type: :runtime
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 1.1.0
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: codeclimate-test-reporter
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0.4'
|
98
|
+
type: :development
|
99
|
+
prerelease: false
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0.4'
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rubocop
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 0.17.0
|
112
|
+
type: :development
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - '='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.17.0
|
119
|
+
- !ruby/object:Gem::Dependency
|
120
|
+
name: rspec
|
121
|
+
requirement: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '3.1'
|
126
|
+
type: :development
|
127
|
+
prerelease: false
|
128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '3.1'
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: bundler
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '1.7'
|
140
|
+
type: :development
|
141
|
+
prerelease: false
|
142
|
+
version_requirements: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '1.7'
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: rake
|
149
|
+
requirement: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '10.0'
|
154
|
+
type: :development
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '10.0'
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
name: github-markup
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '1.3'
|
168
|
+
type: :development
|
169
|
+
prerelease: false
|
170
|
+
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '1.3'
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
name: redcarpet
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '3.2'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "~>"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '3.2'
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: yard
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0.8'
|
196
|
+
type: :development
|
197
|
+
prerelease: false
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - "~>"
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '0.8'
|
203
|
+
- !ruby/object:Gem::Dependency
|
204
|
+
name: pry
|
205
|
+
requirement: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - "~>"
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0.10'
|
210
|
+
type: :development
|
211
|
+
prerelease: false
|
212
|
+
version_requirements: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - "~>"
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0.10'
|
217
|
+
description: Sensu plugins for ceph
|
218
|
+
email: "<sensu-users@googlegroups.com>"
|
219
|
+
executables: []
|
220
|
+
extensions: []
|
221
|
+
extra_rdoc_files: []
|
222
|
+
files:
|
223
|
+
- CHANGELOG.md
|
224
|
+
- LICENSE
|
225
|
+
- README.md
|
226
|
+
- bin/check-ceph.rb
|
227
|
+
- bin/metrics-ceph-osd.rb
|
228
|
+
- lib/sensu-plugins-ceph.rb
|
229
|
+
homepage: https://github.com/sensu-plugins/sensu-plugins-ceph
|
230
|
+
licenses:
|
231
|
+
- MIT
|
232
|
+
metadata:
|
233
|
+
maintainer: ''
|
234
|
+
development_status: unmaintained
|
235
|
+
production_status: unstable - testing recommended
|
236
|
+
post_install_message:
|
237
|
+
rdoc_options: []
|
238
|
+
require_paths:
|
239
|
+
- lib
|
240
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
241
|
+
requirements:
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: 1.9.3
|
245
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - ">"
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: 1.3.1
|
250
|
+
requirements: []
|
251
|
+
rubyforge_project:
|
252
|
+
rubygems_version: 2.2.2
|
253
|
+
signing_key:
|
254
|
+
specification_version: 4
|
255
|
+
summary: Sensu plugins for ceph
|
256
|
+
test_files: []
|
257
|
+
has_rdoc:
|
metadata.gz.sig
ADDED
Binary file
|