sensu-plugins-microsoft-teams 1.2.1 → 1.2.2

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: cddaaf6d9c10924404d6d755fd56e4ccdb9dd62e
4
- data.tar.gz: 3b6299665fd701fc0598048104b0a408c1445ac6
3
+ metadata.gz: e15189034d0b3c29d98d9a55ea9ae3c01f319c4d
4
+ data.tar.gz: 4523a17eecfa43c542256235f4d7aaa195e48fb8
5
5
  SHA512:
6
- metadata.gz: 55eb85e5bbf0fdfa43d83f01bdff63a52587524e0ad1c9154712473e7f9108dfd6497989e920a0b0dd8afbde55d769481b00d9e21ea8974e8455455140d5094c
7
- data.tar.gz: 783f10b7a6f3ac983468adc7f9feb2be9845a20944af9769f8dd208ce3c962b3bd956b2fcb305b515bc63f70209ec48df7186f1f2080c2c959608ab4f134036b
6
+ metadata.gz: a174d6d2a0395474112c77789654d40547edcd339b6f3c0b301005eb131025fe5fd90749aa2fc3675069e143ce7a60d69c56d97410a4367b041a59c8cd0fa8a4
7
+ data.tar.gz: 0e756948ab7a5244e385fb931cecda1c77a38371d26baa1d7f1f74e78dfcb433be580e1ea5790a8301d13b7e525793b935dad0a47e9fe68c97a72fd1b942f318
data/README.md CHANGED
@@ -1,17 +1,55 @@
1
- ## Sensu-Plugins-skel
1
+ ## Sensu-Plugins-Microsoft-Teams
2
+
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-microsoft-teams.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-microsoft-teams)
4
+ [![Gem Version](https://badge.fury.io/rb/sensu-plugins-microsoft-teams.svg)](https://badge.fury.io/rb/sensu-plugins-microsoft-teams)
5
+ [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-microsoft-teams/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-microsoft-teams)
6
+ [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-microsoft-teams/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-microsoft-teams)
7
+ [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-microsoft-teams.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-microsoft-teams)
2
8
 
3
- [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-skel.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-skel)
4
- [![Gem Version](https://badge.fury.io/rb/sensu-plugins-skel.svg)](http://badge.fury.io/rb/sensu-plugins-skel)
5
- [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-skel.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-skel)
6
9
 
7
10
  ## Functionality
8
11
 
9
12
  ## Files
13
+ * bin/handler-microsoft-teams.rb
10
14
 
11
- ## Usage
12
-
15
+ ## Usage for handler-microsoft-teams.rb
16
+ ```
17
+ {
18
+ "microsoft-teams": {
19
+ "webhook_url": "webhook url",
20
+ "dashboard": "uchiwa url, add link to teams notification. Format: http://sensu.com/#/client/$DataCenter/, optional",
21
+ "channel": "#notifications-room, optional defaults to webhook defined",
22
+ "message_prefix": "optional prefix - can be used for mentions",
23
+ "surround": "optional - can be used for bold(*), italics(_), code(`) and preformatted(```)",
24
+ "bot_name": "optional bot name, defaults to webhook defined",
25
+ "link_names": "optional - find and link channel names and usernames",
26
+ "message_template": "optional description erb template file - /some/path/to/template.erb",
27
+ "payload_template": "optional json payload template file (note: overrides most other template options.)",
28
+ "template": "backwards-compatible alias for message_template",
29
+ "proxy_address": "The HTTP proxy address (example: proxy.example.com)",
30
+ "proxy_port": "The HTTP proxy port (if there is a proxy)",
31
+ "proxy_username": "The HTTP proxy username (if there is a proxy)",
32
+ "proxy_password": "The HTTP proxy user password (if there is a proxy)",
33
+ "icon_url": "https://raw.githubusercontent.com/sensu/sensu-logo/master/sensu1_flat%20white%20bg_png.png",
34
+ "icon_emoji": ":snowman:",
35
+ "action_type": "The type of action - currently only OpenUri is supported",
36
+ "action_name": "The text that will be displayed on screen for the action"
37
+ }
38
+ }
39
+ ## Usage for microsoft-teams.json
40
+ ```
41
+ {
42
+ "microsoft-teams": {
43
+ "webhook_url": "https://outlook.office.com/webhook/AAAAAAA/IncomingWebhook/BBBBBBBB",
44
+ "dashboard": "https://sensu.domain.tld/#/client/Sensu/",
45
+ "action_type": "openuri",
46
+ "action_name": "View in Sensu"
47
+ }
48
+ }
49
+ ```
50
+ ```
13
51
  ## Installation
14
52
 
15
- [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
53
+ [Installation and Setup](https://sensu-plugins.io/docs/installation_instructions.html)
16
54
 
17
55
  ## Notes
@@ -2,7 +2,7 @@ module SensuPluginsMicrosoftTeams
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-microsoft-teams
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors