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 +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/sensu/client/process.rb +4 -4
- data/lib/sensu/constants.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59189ea63a91ecc77669ef407887f2a91be61476
|
4
|
+
data.tar.gz: 3e38ff971911571134ebfca7dc32e1d4ec187434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91480595d18e1b80e38acf40edbabd2aa7fe8ffe9f6493a12f7e56963e1ca60bac9ef88011bcd01f3795ee0cce3ba7a12fc974838ab87bd88c975977381261f3
|
7
|
+
data.tar.gz: 37f8686e67f7ca4c694c775bdd2f59d05da38520f66de9aaaf8ddf8476198d70de8c354b4596fcafd7a28ac4ea7f7defb94186c6a85f849dfbc7f2b678563264
|
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
|
data/lib/sensu/client/process.rb
CHANGED
@@ -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
|
data/lib/sensu/constants.rb
CHANGED
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.
|
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-
|
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
|