kennel 1.33.1 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cd29b9d1c95396dfb8baf030859d4ba7954f8895cbf252d6993a097057a78b6
4
- data.tar.gz: 799443d45fc704d5fc1f6e3d77055e5a03765acb3d39bb1c0a3178b9dd8e0980
3
+ metadata.gz: 01e900a06599650f5a5e8bc3412c6cb9847d7cd96f694aab0749cc3df10bff52
4
+ data.tar.gz: 826bceded07bd7f4c7eef3e0945e53366a9d8a855e46ffdb59b1e424ed508379
5
5
  SHA512:
6
- metadata.gz: 7ce30c2ba6cd55df961aee2b5a1ba220580b86aecc2628f022681241e17a067133ad5705a4eb96cf9bb193c4d35a765e4e32b4788fc5038edda40bd8c15145b0
7
- data.tar.gz: '08a052fecd266243e0bb58183b9eedf068912609629cfe3e40c588645a8a18dc16c2ba1a93d63c7fad638d598055e1176c6c99d9cc38eca096b9306ec79dcb2d'
6
+ metadata.gz: b40a6a7fba83fdd7eae409905b2ac654530804e060af9b17b6437b88fbd31ad3dbaef380f778157c74f346285e0431b6e506fc6a0826bdb056e7e5690c2b63c1
7
+ data.tar.gz: 5ee301f06675d26d03617b65dce5945f2897e7cc586da624eeb4f994e39dfb83944e9bbc3ea1ce4f5cc3b92154b6222586e4108aa8006cd90b54626eec8ffbaf
@@ -51,6 +51,9 @@ module Kennel
51
51
 
52
52
  raise "No monitors for #{tag} found, check your spelling" if monitors.empty?
53
53
 
54
+ # only keep monitors that are alerting
55
+ monitors.reject! { |m| m[:overall_state] == "OK" }
56
+
54
57
  # only keep monitors that are not completely silenced
55
58
  monitors.reject! { |m| m[:options][:silenced].key?(:*) }
56
59
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.33.1"
3
+ VERSION = "1.34.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kennel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.1
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-06 00:00:00.000000000 Z
11
+ date: 2019-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday