sensu 0.26.0.beta → 0.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43dd37a6c04af17e71c851c56ca704a7a074748b
4
- data.tar.gz: f5bc129d97ce20cc38aa2011263b5c06378ddd9d
3
+ metadata.gz: 188354ccdb3c9b4875d208d19b367325e64355d2
4
+ data.tar.gz: 13688a67cff60f49e9c592b01c051a453a03d210
5
5
  SHA512:
6
- metadata.gz: ba486e8272baf979179579d9c4c9f8a66ec88bad4c3c0fd298ed9210aa45e37941429d7cf57a3b4b7a362604ff8d0abb6dbf05c246fa77b51a38070f3b9fba56
7
- data.tar.gz: 24cd248e6322595ee191aee1a16bd5903b9d8eff1d0ad9479d337c085470c628752f77260659823d9a602bd0d377914ebcc67ecace581b52c2f6502959dee068
6
+ metadata.gz: f284a70162fe2935f9f7f753b42d35692e45c2220029d56fe8ec3715e44fa19f7f7ed4ba6e711382da112ddd4923da15f97de1dd5aaf30f575eee197398ff241
7
+ data.tar.gz: d42aab9749b3eb39dc3e58e03bfa524542aaf14aaaa916de327794dc8e22d5caa34c0b5eeba00b4565708fb529f9b80c0ec677f0bd7bb66c68654020f7b9c80e
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
- ## 0.26.0 - TBD
1
+ ## 0.26.0 - 2016-09-06
2
+
3
+ ### Non-backwards compatible changes
4
+
5
+ Subdue now ONLY applies to check scheduling via check definitions, it has
6
+ been removed from handlers (no more `"at": "handler"`). The subdue
7
+ configuration syntax has changed, please refer to the [0.26 subdue
8
+ documentation](https://sensuapp.org/docs/0.26/reference/checks.html#subdue-attributes).
2
9
 
3
10
  ### Fixes
4
11
 
@@ -7,7 +14,7 @@ accommodate very large Sensu installations that execute over 100k checks.
7
14
 
8
15
  Only attempt to schedule standalone checks that have an interval.
9
16
 
10
- Standalone checks are now long provided by the Sensu API /checks endpoint.
17
+ Standalone checks are no longer provided by the Sensu API /checks endpoint.
11
18
 
12
19
  Check TTL events are no longer created if the associated Sensu client has
13
20
  a current keepalive event.
@@ -18,7 +25,7 @@ response content.
18
25
  ### Features
19
26
 
20
27
  Event silencing is now built into Sensu Core! The Sensu API now provides a
21
- set of /silencing endpoints, for silencing one or more subscriptions
28
+ set of /silenced endpoints, for silencing one or more subscriptions
22
29
  and/or checks. Silencing applies to all event handlers by default, the new
23
30
  handler definition attribute `handle_silenced` can be used to disable it
24
31
  for a handler. Metric check events (OK) bypass event silencing.
@@ -26,7 +33,8 @@ for a handler. Metric check events (OK) bypass event silencing.
26
33
  Subdue now ONLY applies to check scheduling via check definitions, it has
27
34
  been removed from handlers (no more `"at": "handler"`). The Sensu client
28
35
  standalone check execution scheduler now supports subdue. The subdue
29
- configuration syntax has changed, please refer to the 0.26 documentation.
36
+ configuration syntax has changed, please refer to the [0.26 subdue
37
+ documentation](https://sensuapp.org/docs/0.26/reference/checks.html#subdue-attributes).
30
38
 
31
39
  Event filters now support time windows, via the filter definition
32
40
  attribute `"when": {}`. The configuration syntax is the same as check
@@ -35,7 +43,8 @@ subdue.
35
43
  Sensu Extensions are now loaded from Rubygems! The Sensu installer,
36
44
  `sensu-install`, can now be used to install Sensu Extensions, e.g.
37
45
  `sensu-install -e system-profile`. Extensions gems must be enabled via
38
- Sensu configuration, please refer to the 0.26 documentation.
46
+ Sensu configuration, please refer to the [0.26 extensions
47
+ documentation](https://sensuapp.org/docs/0.26/reference/extensions.html#configuring-sensu-to-load-extensions).
39
48
 
40
49
  A check can now be a member of more than one aggregate, via the check
41
50
  definition attribute `"aggregates": []`.
@@ -1,7 +1,7 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
3
  # Sensu release version.
4
- VERSION = "0.26.0.beta".freeze
4
+ VERSION = "0.26.0".freeze
5
5
 
6
6
  # Sensu check severities.
7
7
  SEVERITIES = %w[ok warning critical unknown].freeze
@@ -115,7 +115,7 @@ module Sensu
115
115
  begin
116
116
  value = Marshal.load(Marshal.dump(raw_value))
117
117
  !!Sandbox.eval(eval_string, value)
118
- rescue => error
118
+ rescue StandardError, SyntaxError => error
119
119
  @logger.error("filter attribute eval error", {
120
120
  :event => event,
121
121
  :raw_eval_string => raw_eval_string,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0.beta
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-08-23 00:00:00.000000000 Z
12
+ date: 2016-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
@@ -275,9 +275,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  required_rubygems_version: !ruby/object:Gem::Requirement
277
277
  requirements:
278
- - - ">"
278
+ - - ">="
279
279
  - !ruby/object:Gem::Version
280
- version: 1.3.1
280
+ version: '0'
281
281
  requirements: []
282
282
  rubyforge_project:
283
283
  rubygems_version: 2.6.3