kennel 1.75.0 → 1.75.1

This diff has not been reviewed by any users.
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: e6a61329e4c2b2ccec0021103dbca60ec7fb9658e3a45a0c4212a08e63ea1395
4
- data.tar.gz: 50af562a677393894101f495b150be434f7af67851e774109aa6b4605bedffab
3
+ metadata.gz: 23af2ecfb9019df555f7fe3a3954f4d992208927744093ff1f8886afd571e457
4
+ data.tar.gz: 6e2c902c47020e46b5fc0e647d8d63bbd7227657ce78303c673470be840ecbf9
5
5
  SHA512:
6
- metadata.gz: c884d5d811aa4ed5df99e90382d2311391035570185149bae41f0ac0c080df6132877c4dcd9ffbba88a83e829203557353b405ed71b373e997337223192ed5b4
7
- data.tar.gz: 4e453ebad3dae75cd38f1901ab6ea50d22f886d2b3004ff3d25c3ab64881f852d7592b73a4efd0eabe244179ee39570f0028a62f3a1aa1bb0c47765c131fb097
6
+ metadata.gz: c2dfa7e9f54c83d3369b48b91896cb7dc7cfe75bb94d672d7de07bc7a6b8ea3f63ebe38788dddf5de90ead3b73f977c42f87497d61e7b23def6ae385d0a42213
7
+ data.tar.gz: 9ebb18f6d9c54be18a783d8511e3128b9c59b5898f9f14a1be77c871dcdab837681bf04050ec97a1a2f675c84fda624469edaed0af9f5e0da11b60517ba93cea
@@ -18,14 +18,15 @@ module Kennel
18
18
  new_host_delay: 300,
19
19
  timeout_h: 0,
20
20
  renotify_interval: 0,
21
- no_data_timeframe: nil # this works out ok since if notify_no_data is on, it would never be nil
21
+ no_data_timeframe: nil, # this works out ok since if notify_no_data is on, it would never be nil
22
+ groupby_simple_monitor: false
22
23
  }.freeze
23
24
  DEFAULT_ESCALATION_MESSAGE = ["", nil].freeze
24
25
 
25
26
  settings(
26
27
  :query, :name, :message, :escalation_message, :critical, :type, :renotify_interval, :warning, :timeout_h, :evaluation_delay,
27
28
  :ok, :no_data_timeframe, :notify_no_data, :notify_audit, :tags, :critical_recovery, :warning_recovery, :require_full_window,
28
- :threshold_windows, :new_host_delay, :groupby_simple_monitor
29
+ :threshold_windows, :new_host_delay
29
30
  )
30
31
 
31
32
  defaults(
@@ -44,8 +45,7 @@ module Kennel
44
45
  evaluation_delay: -> { MONITOR_OPTION_DEFAULTS.fetch(:evaluation_delay) },
45
46
  critical_recovery: -> { nil },
46
47
  warning_recovery: -> { nil },
47
- threshold_windows: -> { nil },
48
- groupby_simple_monitor: -> { nil }
48
+ threshold_windows: -> { nil }
49
49
  )
50
50
 
51
51
  def as_json
@@ -95,11 +95,6 @@ module Kennel
95
95
  end
96
96
  end
97
97
 
98
- # option randomly pops up and cannot be removed
99
- unless (group = groupby_simple_monitor).nil?
100
- options[:groupby_simple_monitor] = group
101
- end
102
-
103
98
  if windows = threshold_windows
104
99
  options[:threshold_windows] = windows
105
100
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.75.0"
3
+ VERSION = "1.75.1"
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.75.0
4
+ version: 1.75.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-22 00:00:00.000000000 Z
11
+ date: 2020-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday