kennel 1.134.0 → 1.135.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 +4 -4
- data/lib/kennel/models/monitor.rb +6 -1
- data/lib/kennel/tasks.rb +2 -0
- data/lib/kennel/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df9cbe3093fdce8eaea3d1b3e58fd7f715a2c1ed070f6d133e8ef0bd588856e6
|
|
4
|
+
data.tar.gz: 229af8ec1cccb468c3e5519c4a4292c8889bf0f4386ac5330bd7ec4795b0a608
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70955bc2936c0d055e6f1c9634e4b7797dc29b89faa55c41b3f08d49366251332f16c24a8f54291285a58df464bbca2c969e179def22d2231a96ccad8a24f401
|
|
7
|
+
data.tar.gz: 180ca60ae26ef56c64b26dd0a04dc8e13b1bd0f0101d1f8d8161cdf0289ccfc3146947ec81addff80172adb5efabcaf8be037b83a1333d41ba8a8c76f007a314
|
|
@@ -32,7 +32,7 @@ module Kennel
|
|
|
32
32
|
settings(
|
|
33
33
|
:query, :name, :message, :escalation_message, :critical, :type, :renotify_interval, :warning, :timeout_h, :evaluation_delay,
|
|
34
34
|
:ok, :no_data_timeframe, :notify_no_data, :notify_audit, :tags, :critical_recovery, :warning_recovery, :require_full_window,
|
|
35
|
-
:threshold_windows, :new_host_delay, :new_group_delay, :priority, :validate_using_links, :variables, :on_missing_data
|
|
35
|
+
:threshold_windows, :scheduling_options, :new_host_delay, :new_group_delay, :priority, :validate_using_links, :variables, :on_missing_data
|
|
36
36
|
)
|
|
37
37
|
|
|
38
38
|
defaults(
|
|
@@ -52,6 +52,7 @@ module Kennel
|
|
|
52
52
|
critical_recovery: -> { nil },
|
|
53
53
|
warning_recovery: -> { nil },
|
|
54
54
|
threshold_windows: -> { nil },
|
|
55
|
+
scheduling_options: -> { nil },
|
|
55
56
|
priority: -> { MONITOR_DEFAULTS.fetch(:priority) },
|
|
56
57
|
variables: -> { MONITOR_OPTION_DEFAULTS.fetch(:variables) },
|
|
57
58
|
on_missing_data: -> { MONITOR_OPTION_DEFAULTS.fetch(:on_missing_data) }
|
|
@@ -114,6 +115,10 @@ module Kennel
|
|
|
114
115
|
options[:threshold_windows] = windows
|
|
115
116
|
end
|
|
116
117
|
|
|
118
|
+
if schedule = scheduling_options
|
|
119
|
+
options[:scheduling_options] = schedule
|
|
120
|
+
end
|
|
121
|
+
|
|
117
122
|
# Datadog requires only either new_group_delay or new_host_delay, never both
|
|
118
123
|
options.delete(options[:new_group_delay] ? :new_host_delay : :new_group_delay)
|
|
119
124
|
|
data/lib/kennel/tasks.rb
CHANGED
data/lib/kennel/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.135.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: 2023-02-
|
|
11
|
+
date: 2023-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: diff-lcs
|