kennel 1.96.1 → 1.97.0

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
  SHA256:
3
- metadata.gz: aca7576bcde423ec1f4e559d88f13ee64ed5efb116a212f49e67ac6b792ddb16
4
- data.tar.gz: a6b60f7d6a73ca82d2478f565435e0ebb95a79f7d3bd5bcebfd6712a3e9c8cfb
3
+ metadata.gz: 709d0b2dfc1941a144a4ea5a8089bc82778ac271c7586c0606aa01ac182656cd
4
+ data.tar.gz: b93a0e78bf9fc66dbb2f9b4de43fb540d39392bcc6fc5b147a7535242391c6f9
5
5
  SHA512:
6
- metadata.gz: 1767ebe1e61ea9a314b99f14a2cd15a31dc09419dafa2a9100244c83acfc40cd9eba0ccf1e9ad6c4cf9c3026cd1493e6b62cdc6a867b18720ed517908e702768
7
- data.tar.gz: 382486fbfb3c52346262ad43c63ed21164676189a880d405914de54539907a0a193960f173daa9aa16f41d847959b140a9c60cee886f85d63473d599bd00b807
6
+ metadata.gz: 3862967bda2b37171a989e261d793d0ea47cb324c7088ecc2f682d8ca5a043c6586220b6cfe561e3c10b5dae97852492907eef84cc77f275d628748e2bcc153c
7
+ data.tar.gz: c27ded1f767246a190ca5b0431b8ed03d1a94045fb57c2ce0be297d3c4aa1606246a4ef3cdcb1ff97ca6f0e4d89f8938064b1b8784ad8c6d78c63228d5f9684a
@@ -19,6 +19,7 @@ module Kennel
19
19
  MONITOR_OPTION_DEFAULTS = {
20
20
  evaluation_delay: nil,
21
21
  new_host_delay: 300,
22
+ new_group_delay: 60,
22
23
  timeout_h: 0,
23
24
  renotify_interval: 0,
24
25
  notify_audit: false,
@@ -31,7 +32,7 @@ module Kennel
31
32
  settings(
32
33
  :query, :name, :message, :escalation_message, :critical, :type, :renotify_interval, :warning, :timeout_h, :evaluation_delay,
33
34
  :ok, :no_data_timeframe, :notify_no_data, :notify_audit, :tags, :critical_recovery, :warning_recovery, :require_full_window,
34
- :threshold_windows, :new_host_delay, :priority
35
+ :threshold_windows, :new_host_delay, :new_group_delay, :priority
35
36
  )
36
37
 
37
38
  defaults(
@@ -45,6 +46,7 @@ module Kennel
45
46
  no_data_timeframe: -> { 60 },
46
47
  notify_audit: -> { MONITOR_OPTION_DEFAULTS.fetch(:notify_audit) },
47
48
  new_host_delay: -> { MONITOR_OPTION_DEFAULTS.fetch(:new_host_delay) },
49
+ new_group_delay: -> { MONITOR_OPTION_DEFAULTS.fetch(:new_group_delay) },
48
50
  tags: -> { @project.tags },
49
51
  timeout_h: -> { MONITOR_OPTION_DEFAULTS.fetch(:timeout_h) },
50
52
  evaluation_delay: -> { MONITOR_OPTION_DEFAULTS.fetch(:evaluation_delay) },
@@ -70,6 +72,7 @@ module Kennel
70
72
  notify_audit: notify_audit,
71
73
  require_full_window: require_full_window,
72
74
  new_host_delay: new_host_delay,
75
+ new_group_delay: new_group_delay,
73
76
  include_tags: true,
74
77
  escalation_message: Utils.presence(escalation_message.strip),
75
78
  evaluation_delay: evaluation_delay,
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.96.1"
3
+ VERSION = "1.97.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kennel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.96.1
4
+ version: 1.97.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser