kennel 1.75.0 → 1.75.1
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 -9
- 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: 23af2ecfb9019df555f7fe3a3954f4d992208927744093ff1f8886afd571e457
|
4
|
+
data.tar.gz: 6e2c902c47020e46b5fc0e647d8d63bbd7227657ce78303c673470be840ecbf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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.75.
|
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-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|