sensu-plugins-signifai 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/handler-signifai.rb +9 -1
- data/lib/sensu-plugins-signifai/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be79136e50c169573289321d70a25614eb846c95
|
4
|
+
data.tar.gz: c560a9af9260aec9c97eb49d2b28bfe4cebe04c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a346c867fe32aaa0a614d6d3f7cd5260f583706f5b03ad64579c94623a2770c5af1f058bc417bcda6862ad3ba0b6dfb76048f61d021ff47a63063778a09baab7
|
7
|
+
data.tar.gz: 8d8f7d08df38969c1092f8096e9311808a61a3765fb71c18b20f240e043a36884ae4c6f2437f122d128e4b42d9f48140bc96263784b78bfaf03e93a0ec9e48a9
|
data/bin/handler-signifai.rb
CHANGED
@@ -66,7 +66,15 @@ class SignifaiHandler < Sensu::Handler
|
|
66
66
|
timestamp: time,
|
67
67
|
event_description: @event['check']['output'],
|
68
68
|
value: PRIORITIES[priority_index],
|
69
|
-
attributes: {
|
69
|
+
attributes: {
|
70
|
+
state: state,
|
71
|
+
check_type: @event['check']['type'],
|
72
|
+
check_name: @event['check']['name'],
|
73
|
+
check_command: @event['check']['command'],
|
74
|
+
check_subscribers: @event['check']['subscribers'].nil? ? nil : @event['check']['subscribers'].join(','),
|
75
|
+
check_interval: @event['check']['interval'],
|
76
|
+
check_handlers: @event['check']['handlers'].nil? ? @event['check']['handler'] : @event['check']['handlers'].join(',')
|
77
|
+
}
|
70
78
|
}
|
71
79
|
|
72
80
|
JSON.dump(incident)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-signifai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
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: 2017-
|
11
|
+
date: 2017-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
version: '0'
|
193
193
|
requirements: []
|
194
194
|
rubyforge_project:
|
195
|
-
rubygems_version: 2.
|
195
|
+
rubygems_version: 2.6.13
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: Sensu plugins for SignifAi
|