sensu-plugins-microsoft-teams 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +45 -7
- data/lib/sensu-plugins-microsoft-teams/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e15189034d0b3c29d98d9a55ea9ae3c01f319c4d
|
|
4
|
+
data.tar.gz: 4523a17eecfa43c542256235f4d7aaa195e48fb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a174d6d2a0395474112c77789654d40547edcd339b6f3c0b301005eb131025fe5fd90749aa2fc3675069e143ce7a60d69c56d97410a4367b041a59c8cd0fa8a4
|
|
7
|
+
data.tar.gz: 0e756948ab7a5244e385fb931cecda1c77a38371d26baa1d7f1f74e78dfcb433be580e1ea5790a8301d13b7e525793b935dad0a47e9fe68c97a72fd1b942f318
|
data/README.md
CHANGED
|
@@ -1,17 +1,55 @@
|
|
|
1
|
-
## Sensu-Plugins-
|
|
1
|
+
## Sensu-Plugins-Microsoft-Teams
|
|
2
|
+
|
|
3
|
+
[](https://travis-ci.org/sensu-plugins/sensu-plugins-microsoft-teams)
|
|
4
|
+
[](https://badge.fury.io/rb/sensu-plugins-microsoft-teams)
|
|
5
|
+
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-microsoft-teams)
|
|
6
|
+
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-microsoft-teams)
|
|
7
|
+
[](https://gemnasium.com/sensu-plugins/sensu-plugins-microsoft-teams)
|
|
2
8
|
|
|
3
|
-
[](https://travis-ci.org/sensu-plugins/sensu-plugins-skel)
|
|
4
|
-
[](http://badge.fury.io/rb/sensu-plugins-skel)
|
|
5
|
-
[](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](
|
|
53
|
+
[Installation and Setup](https://sensu-plugins.io/docs/installation_instructions.html)
|
|
16
54
|
|
|
17
55
|
## Notes
|