kennel 1.133.0 → 1.133.1

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: d3aff9df6291b4831989719092533b91416db67398fbd2f8b43d694ce2a758c6
4
- data.tar.gz: 316279b5d6059c65281322e8d0dae8caeac665a48bba70c377c218febfd76fb9
3
+ metadata.gz: 6ebfb755b091be3c3c59e5363f7b302b3c69a67a13ec9a768c76bc68ca09ec65
4
+ data.tar.gz: ca416980653d8b8965d72693506c246dbce2c03f5937f0beedc246df194f7617
5
5
  SHA512:
6
- metadata.gz: f54f29018a039ee2b5d8bf4bfb05b371af4551c102a0f349463faa6a380873b387d5f8229460bb6b991d30a21cd2cdbb14765c43400e983bc74d13822467d7bf
7
- data.tar.gz: c893a9caa3a122f454cf7f654c4583df3397c985fa230f06ff9fcdaec07fb90b89be43a363eb5911483aad6bf9699971ea0664dcc0e4758fb61e833bce587008
6
+ metadata.gz: f4e96b9bdc91ea48b644333b5c5b5c0d774d9c2f47da73b322dd51406358f7435ec4794f52ffb0cd93eb01131b78a306b1fd301c33f3069c96c24729afc07290
7
+ data.tar.gz: e7415a9706cb1803ffbef5eb46e45f8acb19c0f17d1f47a168f041886154d1f39d6fd122be072c0ee28bdc07a08061fd3e7582f2d9931349970adff5d268bbb8
@@ -23,7 +23,7 @@ module Kennel
23
23
  no_data_timeframe: nil, # this works out ok since if notify_no_data is on, it would never be nil
24
24
  groupby_simple_monitor: false,
25
25
  variables: nil,
26
- on_missing_data: "default"
26
+ on_missing_data: "default" # "default" is "evaluate as zero"
27
27
  }.freeze
28
28
  DEFAULT_ESCALATION_MESSAGE = ["", nil].freeze
29
29
  ALLOWED_PRIORITY_CLASSES = [NilClass, Integer].freeze
@@ -54,7 +54,7 @@ module Kennel
54
54
  threshold_windows: -> { nil },
55
55
  priority: -> { MONITOR_DEFAULTS.fetch(:priority) },
56
56
  variables: -> { MONITOR_OPTION_DEFAULTS.fetch(:variables) },
57
- on_missing_data: -> { notify_no_data ? "show_and_notify_no_data" : "default" } # "default" is "evaluate as zero"
57
+ on_missing_data: -> { MONITOR_OPTION_DEFAULTS.fetch(:on_missing_data) }
58
58
  )
59
59
 
60
60
  def build_json
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.133.0"
3
+ VERSION = "1.133.1"
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.133.0
4
+ version: 1.133.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: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diff-lcs