sensu-plugins-microsoft-teams 0.0.6 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/handler-microsoft-teams.rb +3 -3
- data/lib/sensu-plugins-microsoft-teams/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c4ca3f885210094b5096b4b5a3cdd9293f20a78
|
4
|
+
data.tar.gz: d43995e3d0661beadc857bd8ea9c00cb29409ff2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07458a4e6f31afda9b9940415106f098f4c8f36e518a5c6df347cc06a81091313edc7a15e70f6308f74adb6f6764dc76e5ae42fb8063a4d04d8bed08bf521b10
|
7
|
+
data.tar.gz: e0942f486d18e7074cea19e9992dc1a88313450886dd2aba8cdbfcc96c6c13773471b670e08ad89efa824cb8068189696439eecf16c8e6a18fae1222cb7fbfaa
|
@@ -181,10 +181,10 @@ class MicrosoftTeams < Sensu::Handler
|
|
181
181
|
|
182
182
|
{
|
183
183
|
icon_url: teams_icon_url ? teams_icon_url : 'https://raw.githubusercontent.com/sensu/sensu-logo/master/sensu1_flat%20white%20bg_png.png',
|
184
|
-
|
185
|
-
|
184
|
+
themeColor: color,
|
185
|
+
text: "#{@event['client']['address']} - #{translate_status}",
|
186
|
+
sections: [{
|
186
187
|
text: [teams_message_prefix, notice].compact.join(' '),
|
187
|
-
color: color,
|
188
188
|
fields: client_fields
|
189
189
|
}]
|
190
190
|
}.tap do |payload|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-microsoft-teams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.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: 2017-09-
|
11
|
+
date: 2017-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|