sensu 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1cbf79c3fac0756a7d65056714607fc872a41e4
4
- data.tar.gz: ba34ffa82a5b9f1fa548598f0c25693e18f11d86
3
+ metadata.gz: 59189ea63a91ecc77669ef407887f2a91be61476
4
+ data.tar.gz: 3e38ff971911571134ebfca7dc32e1d4ec187434
5
5
  SHA512:
6
- metadata.gz: fec578ffb828942d058187489281f25f0aca36d26d1f2ca720cf361d94f89305f8498fad57e7f9fd6b0f030d7f6043b99a2b069ddedd3c4867492b7a15ae2fb9
7
- data.tar.gz: 988dea133f81153914a2c0cc73a8323206d733ecc4378597e395236b9adccfcdc2118cd378d7ec199848b8854210aea57b3094782f7220c14b7667a5a828619d
6
+ metadata.gz: 91480595d18e1b80e38acf40edbabd2aa7fe8ffe9f6493a12f7e56963e1ca60bac9ef88011bcd01f3795ee0cce3ba7a12fc974838ab87bd88c975977381261f3
7
+ data.tar.gz: 37f8686e67f7ca4c694c775bdd2f59d05da38520f66de9aaaf8ddf8476198d70de8c354b4596fcafd7a28ac4ea7f7defb94186c6a85f849dfbc7f2b678563264
@@ -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: ruby
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
@@ -307,4 +307,3 @@ signing_key:
307
307
  specification_version: 4
308
308
  summary: A monitoring framework
309
309
  test_files: []
310
- has_rdoc: false