sensu-plugins-signifai 1.1.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +22 -2
- data/README.md +4 -7
- data/bin/handler-signifai.rb +1 -1
- data/lib/sensu-plugins-signifai/version.rb +3 -3
- metadata +21 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cd3bf01bbe0ff880310a8f56a2b85feb38c5e803ebeee70921eb3d1d822e78a3
|
4
|
+
data.tar.gz: '087e10757e6b869f3d7e8fafb6f4a7cff6d0c7c28d393b7f9c516aacd6a84503'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '098ff314a493aee5e58324204baef3eb0c0e7e45211475726c9a8f116be9a408ae1f7a541bd1a21b2e6c44d9e0efa887ec802e9467c48e730945b0a5ab827088'
|
7
|
+
data.tar.gz: 2b7883de724b0a2e1c2ea0a278c939dd9a33ede3e3841a1df8405aca5920e6f9749d1537f66cdb3869687a975bf5dcb7d94b928891bce392ac6236328e7cca5c
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,28 @@
|
|
1
1
|
# Change Log
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
3
|
|
4
|
-
This CHANGELOG follows the format
|
4
|
+
This CHANGELOG follows the format located [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
|
5
5
|
|
6
6
|
## Unreleased
|
7
7
|
|
8
|
+
## [2.0.0] - 2019-02-17
|
9
|
+
### Breaking Changes
|
10
|
+
- Updated dependencies and reconciled necessary changes (@zcarlson-signifai)
|
11
|
+
- Bundler 2.0
|
12
|
+
- Rubocop 0.50.0
|
13
|
+
- sensu-plugins >= 1.2 and < 4.0
|
14
|
+
- Minimum Ruby version is now 2.3.0, in-line with sensu-plugins-skel (@zcarlson-signifai)
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
- Travis config following new minimum Ruby version requirement (@zcarlson-signifai)
|
18
|
+
|
19
|
+
### Changed
|
20
|
+
- misc changes to changelog and pr template (@majormoses)
|
21
|
+
|
22
|
+
## [1.1.3] 2017-09-21
|
23
|
+
### Added
|
24
|
+
- A bunch more information about the check and its results sent to signifai (@zcarlson-signifai)
|
25
|
+
|
8
26
|
## [1.1.1] 2017-07-11
|
9
27
|
### Fixed
|
10
28
|
- fix travis config (@majormoses)
|
@@ -28,6 +46,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
28
46
|
- became an official sensu community gem
|
29
47
|
|
30
48
|
|
31
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-signifai/compare/1.1.
|
49
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-signifai/compare/1.1.3...HEAD
|
50
|
+
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-signifai/compare/1.1.3...2.0.0
|
51
|
+
[1.1.3]: https://github.com/sensu-plugins/sensu-plugins-signifai/compare/1.1.1...1.1.3
|
32
52
|
[1.1.1]: https://github.com/sensu-plugins/sensu-plugins-signifai/compare/1.0.0...1.1.0
|
33
53
|
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-signifai/compare/1.0.0...1.1.0
|
data/README.md
CHANGED
@@ -5,9 +5,8 @@ Installation
|
|
5
5
|
============
|
6
6
|
|
7
7
|
Assuming you have [installed Sensu for your platform]
|
8
|
-
(https://sensuapp.org/docs/latest/installation/), you
|
9
|
-
to
|
10
|
-
If you elect to use the "embedded" Ruby that comes with Sensu, you may
|
8
|
+
(https://sensuapp.org/docs/latest/installation/), and if you elect
|
9
|
+
to use the "embedded" Ruby that comes with Sensu, you may
|
11
10
|
want to (at least temporarily) add their Ruby to your PATH:
|
12
11
|
|
13
12
|
```
|
@@ -15,12 +14,10 @@ export EMBEDDED_RUBY="true"
|
|
15
14
|
export PATH="/opt/sensu/embedded/bin:$PATH"
|
16
15
|
```
|
17
16
|
|
18
|
-
|
19
|
-
|
20
|
-
Once the gem is downloaded to your local directory, simply run:
|
17
|
+
Then, simply run:
|
21
18
|
|
22
19
|
```
|
23
|
-
sudo -E gem install
|
20
|
+
sudo -E gem install sensu-plugins-signifai
|
24
21
|
```
|
25
22
|
|
26
23
|
Verify that `which handler-signifai.rb` gives you a valid path; if
|
data/bin/handler-signifai.rb
CHANGED
@@ -22,7 +22,7 @@ require 'net/http'
|
|
22
22
|
# Signifai
|
23
23
|
#
|
24
24
|
|
25
|
-
PRIORITIES = %w
|
25
|
+
PRIORITIES = %w[low medium critical critical].freeze
|
26
26
|
COLLECTORS_URI = URI('https://collectors.signifai.io/v1/incidents')
|
27
27
|
|
28
28
|
class SignifaiHandler < Sensu::Handler
|
metadata
CHANGED
@@ -1,71 +1,77 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-signifai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.2'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
39
|
+
version: '2.0'
|
34
40
|
type: :development
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
46
|
+
version: '2.0'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: codeclimate-test-reporter
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
53
|
+
version: '1.0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
60
|
+
version: '1.0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: github-markup
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
67
|
+
version: '3.0'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
74
|
+
version: '3.0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: pry
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +92,14 @@ dependencies:
|
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
95
|
+
version: '12.3'
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
102
|
+
version: '12.3'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: redcarpet
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +134,14 @@ dependencies:
|
|
128
134
|
requirements:
|
129
135
|
- - "~>"
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
137
|
+
version: 0.50.0
|
132
138
|
type: :development
|
133
139
|
prerelease: false
|
134
140
|
version_requirements: !ruby/object:Gem::Requirement
|
135
141
|
requirements:
|
136
142
|
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
144
|
+
version: 0.50.0
|
139
145
|
- !ruby/object:Gem::Dependency
|
140
146
|
name: yard
|
141
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,8 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
197
|
- !ruby/object:Gem::Version
|
192
198
|
version: '0'
|
193
199
|
requirements: []
|
194
|
-
|
195
|
-
rubygems_version: 2.6.13
|
200
|
+
rubygems_version: 3.0.2
|
196
201
|
signing_key:
|
197
202
|
specification_version: 4
|
198
203
|
summary: Sensu plugins for SignifAi
|