sensu 0.17.0-java → 0.17.1-java

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: cc6eae55816846186af3e59a2f768ebadeb05425
4
- data.tar.gz: e4f8658eab699e357226dc53e5cfc1e1555423e7
3
+ metadata.gz: 1ef4795a80c565625fc3759a3560666fb4c44757
4
+ data.tar.gz: 4c34c6daafa600fc4d0c1b3af5a040a1fa4ae637
5
5
  SHA512:
6
- metadata.gz: f84975f755d97693f1e782d0a43190a69b583f0afab360dc99327f53a8acb207605a8f5ef2834390a60bbda5f1b606f1fab212ec9f58ba25bb4c759097bc02b4
7
- data.tar.gz: d782b79c68ff517493d4d9a6aa8f9cc90146a75c11e79b76b029fb268c5fb7f1caeddc7e28ebb9f5f0d4d7fc41767f64b7c9a5bce4a8640cd10324a1723c7468
6
+ metadata.gz: f75462a8c65537eb7ce8b0d923e39abf30aca22a2dbd710b195a464711b663d26aa38241b8531911c4ec0168ba3f7b950f8d6041ef6007533592a833ccb986f1
7
+ data.tar.gz: cddc959f388ec22776eb63e87f4cf0a2852bad8b9c466fb8e1117561768d2005ba1d7e4229437387a555128ecc49d5ee21d70be20ad4ca059cb8db62e19317c8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.17.1 - 2015-03-30
2
+
3
+ ### Features
4
+
5
+ Check requests can now include a check "extension" to run, instead of a
6
+ command.
7
+
8
+ ### Other
9
+
10
+ Always merge check requests with local check definitions if they exist.
11
+
1
12
  ## 0.17.0 - 2015-03-17
2
13
 
3
14
  ### Features
@@ -209,11 +209,11 @@ module Sensu
209
209
  # @param check [Hash]
210
210
  def process_check_request(check)
211
211
  @logger.debug("processing check", :check => check)
212
+ if @settings.check_exists?(check[:name])
213
+ check.merge!(@settings[:checks][check[:name]])
214
+ end
212
215
  if check.has_key?(:command)
213
- if @settings.check_exists?(check[:name])
214
- check.merge!(@settings[:checks][check[:name]])
215
- execute_check_command(check)
216
- elsif @safe_mode
216
+ if @safe_mode && !@settings.check_exists?(check[:name])
217
217
  check[:output] = "Check is not locally defined (safe mode)"
218
218
  check[:status] = 3
219
219
  check[:handle] = false
@@ -1,7 +1,7 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
3
  # Sensu release version.
4
- VERSION = "0.17.0"
4
+ VERSION = "0.17.1"
5
5
 
6
6
  # Sensu check severities.
7
7
  SEVERITIES = %w[ok warning critical unknown]
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.17.0
4
+ version: 0.17.1
5
5
  platform: java
6
6
  authors:
7
7
  - Sean Porter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-18 00:00:00.000000000 Z
12
+ date: 2015-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json