-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotify.yaml-template
44 lines (43 loc) · 1.46 KB
/
notify.yaml-template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Define how to send the "Fresh Coffee!" announcements.
# Format "Senders: Configurations: Settings"
#
# Copy relevant sections from here to file `notify.yaml`
#
# Each "configuration" can send notifications with one protocol to a single
# channel, but from multiple clients (agents). It is possible to send messages
# to several channels by defining multiple configurations. Use "test" as the
# test client ID, or "*" for all the clients. Verify message sending works (to
# "test" clients) by running `python test_sending.py`.
senders:
pushover1:
clients: [<comma separated list of clients>]
protocol: pushover
token: <pushover.net API token>
user: <pushover.net user name (delivery group)>
title: Fresh Coffee!
message: Fresh Coffee!
hipchat1:
clients: [<comma separated list of clients>]
protocol: hipchat
server: <server ip/dns name>
token: <API token>
roomid: <room id>
message: Fresh Coffee!
color: yellow
slack1:
clients: [<comma separated list of clients>]
protocol: slack
token: <API token>
channel: <channel name>
message: Fresh Coffee!
color: <good|warning|danger|hex color code>
influxdb1:
clients: [<comma separated list of clients>]
protocol: influxdb
server: <server ip/dns name>
port: 8086
user: <influxdb user name>
password: <influxdb user password>
database: <database name>
measurement: <measurement name>
machine: <name for the coffee machine (tag)>