forked from ac3cloud/pigeonhole
-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.toml.example
61 lines (49 loc) · 1.4 KB
/
config.toml.example
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[pigeonhole]
domain = "http://base_domain"
[influxdb]
host = "1.2.3.4"
port = 8086
database = "pigeonhole"
series = "pigeonhole"
username = "pigeonhole"
password = "mypassword"
retry = 3
# Special read-write user for data alteration
username_rw = "pigeonhole_rw"
password_rw = "verysecurepassword"
[pagerduty]
# Auth token can be given with or without the preceding 'Token token='
auth_token = "2731ca1f7ee10ed57311"
account_name = "mycompany"
time_zone = "UTC"
[pagerduty.schedules]
# These are the IDs from your PagerDuty On-Call Schedules,
# which when loaded from https://<companyname>.pagerduty.com/schedules
# are on the end of the schedule URLs
primary = "B6AAE34"
secondary = "FD49FBD"
[email_reminder]
from = "pigeonhole <pigeonhole@example.com>"
subject = "You were recently on call, please fill in the report"
message = """
Hi there,
Thanks for your recent on call shift!
In an effort to make things better, please fill in the report at:
http://pigeonhole.example.com/
Thanks!
"""
[shifts]
time_zone = "UTC"
[shifts.first_shift]
name = "First Shift (Sydney)"
start_time = "22:00"
# Duration is set in minutes
duration = "480"
[shifts.second_shift]
name = "Second Shift (South Africa)"
start_time = "06:00"
duration = "480"
[shifts.third_shift]
name = "Third Shift (America)"
start_time = "14:00"
duration = "480"