kennel 1.96.1 → 1.97.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kennel/models/monitor.rb +4 -1
- data/lib/kennel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 709d0b2dfc1941a144a4ea5a8089bc82778ac271c7586c0606aa01ac182656cd
|
4
|
+
data.tar.gz: b93a0e78bf9fc66dbb2f9b4de43fb540d39392bcc6fc5b147a7535242391c6f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
data/lib/kennel/version.rb
CHANGED