kennel 1.144.1 → 1.144.2

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: 5bf4216bfa5c2ae40c29b50d3891a8fe7c08d6a2f75229a923c28991d4537d39
4
- data.tar.gz: 2a36e4b94db5a0c41ed1d1b1986f52938b564a80cc887e5cd7fbe76bbb480185
3
+ metadata.gz: 6d1cc43aa92bfd88e9cc7c7f33f1c91aaafc0c5a936e2c8dc0d153c20f7bfc85
4
+ data.tar.gz: e1f75c40c4c9a9d38438a2563241193172bc56e020f6ff3b3295dc8485ae415d
5
5
  SHA512:
6
- metadata.gz: 71d0cde39adf53dcd3d77460be78c6cb08ea3f9bb4f44d08e7a50d86fba3058f9fc47fdc51574262de3357dce9e81d8d7b8d102f139683dae76b0bc04547262a
7
- data.tar.gz: 6fd4919a07e88a14eca5c14931f77ee08ec0bdfc3be6f446707c9e29aca4aad9b68ca9bbad3cc550e410c89bfaec51d2b9929de720ce9aab7a21a732339b5fa9
6
+ metadata.gz: 1715277a99ad67ec234522351420712d3c69b617f8ca8cb05118a5d5207ff236177d08183c1315284f4219afd269051745fe6231c771bda943194b0ea2ce6724
7
+ data.tar.gz: cbf498bd57f5668806fab7142048e8e4864ebc745f094189ecc9993bd75a288dc994bac582bbc00ce2eaa704a36916066247ce9fd460d4e861733dc5df7b5843
@@ -4,7 +4,6 @@ module Kennel
4
4
  class Monitor < Record
5
5
  include TagsValidation
6
6
 
7
- RENOTIFY_INTERVALS = [0, 10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360, 720, 1440].freeze # minutes
8
7
  OPTIONAL_SERVICE_CHECK_THRESHOLDS = [:ok, :warning].freeze
9
8
  READONLY_ATTRIBUTES = superclass::READONLY_ATTRIBUTES + [
10
9
  :multi, :matching_downtimes, :overall_state_modified, :overall_state, :restricted_roles
@@ -261,11 +260,6 @@ module Kennel
261
260
  end
262
261
  end
263
262
 
264
- # verify renotify interval is valid
265
- unless RENOTIFY_INTERVALS.include? data.dig(:options, :renotify_interval)
266
- invalid! :invalid_renotify_interval, "renotify_interval must be one of #{RENOTIFY_INTERVALS.join(", ")}"
267
- end
268
-
269
263
  if ["query alert", "service check"].include?(type) # TODO: most likely more types need this
270
264
  validate_message_variables(data)
271
265
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.144.1"
3
+ VERSION = "1.144.2"
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.144.1
4
+ version: 1.144.2
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-09-21 00:00:00.000000000 Z
11
+ date: 2023-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diff-lcs