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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3fc9a091a03e9e510300a00354d8cf41de44edd
4
- data.tar.gz: ec4c86f76eb2e050a5a0efda63fe3a0e921b02a2
3
+ metadata.gz: be79136e50c169573289321d70a25614eb846c95
4
+ data.tar.gz: c560a9af9260aec9c97eb49d2b28bfe4cebe04c2
5
5
  SHA512:
6
- metadata.gz: b06413ea15ab43a3ca2d0e3a91c036ce3eeaa167efc8ec8d3d1a943fa76ca18ad4a3302c05f1c357a51d5946d8c0a1f3f5d85f84d9df78cca3ffbbe45f48a22c
7
- data.tar.gz: b211bf3130402c29eaee2bb54a251d169dabd9144194b18bd9c976119944ab29a525c914fd3f09746ff4a012d058823f4251170e0fdde192686bd7c5817c1b2d
6
+ metadata.gz: a346c867fe32aaa0a614d6d3f7cd5260f583706f5b03ad64579c94623a2770c5af1f058bc417bcda6862ad3ba0b6dfb76048f61d021ff47a63063778a09baab7
7
+ data.tar.gz: 8d8f7d08df38969c1092f8096e9311808a61a3765fb71c18b20f240e043a36884ae4c6f2437f122d128e4b42d9f48140bc96263784b78bfaf03e93a0ec9e48a9
@@ -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: { state: state }
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)
@@ -2,7 +2,7 @@ module SensuPluginsSignifai
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- PATCH = 1
5
+ PATCH = 3
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.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-07-13 00:00:00.000000000 Z
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.4.5
195
+ rubygems_version: 2.6.13
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: Sensu plugins for SignifAi