sensu-plugins-ceph 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +1 -0
- data/bin/check-ceph.rb +1 -3
- data/lib/sensu-plugins-ceph/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc8467ba2c59face8de73b024672d1bbc6d88498
|
4
|
+
data.tar.gz: 3db522a4a45881b157303e6fb3226d07d0e6e530
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50eeea20c004555d0070dc77fe12ce9ea2dd6b4d0168923a868bb3f9186897a52465bc19c440ad79b6457a61ff2863c0149ad66aab302208a53ac79c54655e27
|
7
|
+
data.tar.gz: deaa57f193718b181f088fa2edaa43cfa3140d9a9ad1427fc4c03bf9c13e181f5f8b4fbff81ef8df30fbf6b2f7fa9198019208a706dede1bdc823ebca39d44f5
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [1.0.1] - 2017-08-09
|
9
|
+
### Fixed
|
10
|
+
- check-ceph.rb: fixed a bug where the ignore flag was not working due to order of operations (@jklare)
|
11
|
+
|
12
|
+
### Added
|
13
|
+
- slack badge (@majormoses)
|
14
|
+
- standard .github templates (@majormoses)
|
15
|
+
|
8
16
|
## [1.0.0] - 2017-05-17
|
9
17
|
### Changed
|
10
18
|
- Upgrade to Rubocop 0.40 and cleanup
|
@@ -51,6 +59,7 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
51
59
|
- removed cruft from /lib
|
52
60
|
|
53
61
|
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-ceph/compare/1.0.0...HEAD
|
62
|
+
[1.0.1]: https://github.com/sensu-plugins/sensu-plugins-ceph/compare/1.0.0...1.0.1
|
54
63
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-ceph/compare/0.0.5...1.0.0
|
55
64
|
[0.0.5]: https://github.com/sensu-plugins/sensu-plugins-ceph/compare/0.0.4...0.0.5
|
56
65
|
[0.0.4]: https://github.com/sensu-plugins/sensu-plugins-ceph/compare/0.0.3...0.0.4
|
data/README.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
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
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
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-ceph.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-ceph)
|
8
|
+
[![Slack Status](https://sensucommunityslack.herokuapp.com/badge.svg)](https://sensucommunityslack.herokuapp.com)
|
8
9
|
|
9
10
|
## Functionality
|
10
11
|
|
data/bin/check-ceph.rb
CHANGED
@@ -145,11 +145,9 @@ class CheckCephHealth < Sensu::Plugin::Check::CLI
|
|
145
145
|
|
146
146
|
def run
|
147
147
|
result = check_ceph_health
|
148
|
-
ok result if result.start_with?('HEALTH_OK')
|
149
|
-
|
150
148
|
result = strip_warns(result) if config[:ignore_flags]
|
151
149
|
result += run_cmd('ceph osd tree') if config[:osd_tree]
|
152
|
-
|
150
|
+
ok result if result.start_with?('HEALTH_OK')
|
153
151
|
if result.start_with?('HEALTH_WARN')
|
154
152
|
warning result
|
155
153
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-ceph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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: 2017-
|
11
|
+
date: 2017-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: english
|