sensu-plugins-ceph 1.0.0 → 1.0.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: 78a910ed36380d1622a086fe3c5ab08e48d50bb1
4
- data.tar.gz: 4333193e739f499ee63e9272f2d616921bb2471b
3
+ metadata.gz: cc8467ba2c59face8de73b024672d1bbc6d88498
4
+ data.tar.gz: 3db522a4a45881b157303e6fb3226d07d0e6e530
5
5
  SHA512:
6
- metadata.gz: 002c6db73472157505f63f6d6e06e524754aac1da0b5286f72309359067adca1882318d3b8b30ae41200eb0cf0d6b4efc0a71fd7425186b82435323f2b82c93b
7
- data.tar.gz: 4545b633628d941e0e823fed0cf8cd5f4a87c7030657553dc699bb37830f9126286cdf57f9bc15177c58e52fe1135adcc9b4875f74894897df5840a22d26f504
6
+ metadata.gz: 50eeea20c004555d0070dc77fe12ce9ea2dd6b4d0168923a868bb3f9186897a52465bc19c440ad79b6457a61ff2863c0149ad66aab302208a53ac79c54655e27
7
+ data.tar.gz: deaa57f193718b181f088fa2edaa43cfa3140d9a9ad1427fc4c03bf9c13e181f5f8b4fbff81ef8df30fbf6b2f7fa9198019208a706dede1bdc823ebca39d44f5
@@ -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
 
@@ -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
@@ -2,7 +2,7 @@ module SensuPluginsCeph
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.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-05-18 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: english