check-conditional-aggregate 0.0.4 → 0.0.5
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 +4 -4
- data/README.md +12 -5
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d57d0130cc222151744fdea9a9178d7e665bf20
|
4
|
+
data.tar.gz: 19e499201be5550175cfd79b5b4bff2ae860906d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58dc77dc121e98055e5da75a9eab5b86ea1a7b9955047d36f4ec7b630ff23d75ed27604cac9d4fcf2973039cd0861b6b5628c88d69d745301e6984badd32af12
|
7
|
+
data.tar.gz: 7f1618682361cf5518e0af7ae632d50d4c9afffda4b6f07183700e94f9cf6cd07cf182f1bb0f4ef8306db1141e7fa9ccfac059d86e51d9b5b7b7a477c348ad63
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Check::Conditional::Aggregate
|
2
2
|
|
3
|
-
Plugin for Sensu to run an aggregate of other aggregates, following some simple logic rules.
|
3
|
+
Plugin for Sensu to run an aggregate of other aggregates, following some simple logic rules.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -22,13 +22,13 @@ Synopsis
|
|
22
22
|
|
23
23
|
# Generate a warning alert if ANY checks have ANY critical hosts.
|
24
24
|
check-conditional -a API -c "check_foo,check_bar" --warning "any critical in any"
|
25
|
-
|
25
|
+
|
26
26
|
# Generate a critical if either check_foo or check_bar has all hosts at critical.
|
27
27
|
check-conditional -a API -c "check_foo,check_bar" --critical "all warning in any"
|
28
|
-
|
28
|
+
|
29
29
|
# Generate a warning if 80% or more of the checks are critical in any of the checks
|
30
30
|
check-conditional -a API -c CHECKS --warning "80% critical in any"
|
31
|
-
|
31
|
+
|
32
32
|
|
33
33
|
General form:
|
34
34
|
|
@@ -42,7 +42,7 @@ The quantifier on the left determines what threshold to apply as each check is b
|
|
42
42
|
|
43
43
|
## Example
|
44
44
|
|
45
|
-
Suppose we have 3 aggregate checks that monitor latency in 3 regions, and we want to produce an overall health. For the purpose of this
|
45
|
+
Suppose we have 3 aggregate checks that monitor latency in 3 regions, and we want to produce an overall health. For the purpose of this
|
46
46
|
|
47
47
|
|
48
48
|
## Development
|
@@ -57,6 +57,13 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
57
57
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
58
58
|
|
59
59
|
## Release Notes
|
60
|
+
### 0.0.5
|
61
|
+
- Fixed executable path.
|
62
|
+
|
63
|
+
### 0.0.4
|
64
|
+
- Fixed incorrect spelling of --checks
|
65
|
+
- Made Rubocop output squeaky clean.
|
66
|
+
|
60
67
|
### 0.0.3
|
61
68
|
- Perform logic accross multiple aggregate checkers using --checks "Check1,Check2,..."
|
62
69
|
- Removed pattern matching (had been deprecated/broken anyways)
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: check-conditional-aggregate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andre Thenot
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2015-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -112,7 +112,10 @@ description: Plugin for Sensu to run an aggregate of other aggregates, following
|
|
112
112
|
simple logic rules.
|
113
113
|
email:
|
114
114
|
- andrthen@cisco.com
|
115
|
-
executables:
|
115
|
+
executables:
|
116
|
+
- check-conditional-aggregate.rb
|
117
|
+
- console
|
118
|
+
- setup
|
116
119
|
extensions: []
|
117
120
|
extra_rdoc_files: []
|
118
121
|
files:
|