-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathconfig-example.yml
69 lines (58 loc) · 2.06 KB
/
config-example.yml
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
62
63
64
65
66
67
68
69
---
zabbix:
user: user
pass: pass
server: https://zabbix.example.com
https-verify: true
cachet:
token: api token
server: https://cachet.example.com
https-verify: true
settings:
# IT Service which will be a root for Cachet Components
# Leave it empty if you want to use /
root_service: ''
# How often check Zabbix for new incidents
# Set it bigger than Cachet cache timeout to avoid duplicate incidents reports
update_inc_interval: 120 # in seconds
# How often check Zabbix for new IT Services
update_comp_interval: 3600 # in seconds
# Log level https://docs.python.org/3.4/library/logging.html#levels
log_level: INFO
# Additional logging level for requests module
log_level_requests: WARNING
# Time Zone Info - Used in templates to show time of zabbix events
# Leave None if you want to use the system timezone zabbix-cachet is running on.
# Formats accepted: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - Use Column TZ database name
time_zone: null
# Templates for incident displaying
# Fill free to use Markdown
templates:
# Template for acknowledgements (acknowledgement)
# Supported fields:
# message: acknowledgement msg
# ack_time: acknowledgement time
# author: First name + Surname of Zabbix user
acknowledgement: |
{message}
###### {ack_time} by {author}
______
# Time format for acknowledgement template (ack_time)
# Formats accepted: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior
acknowledgement_time_strftime: '%b %d, %H:%M %z'
# Template for new incidents (investigating)
# Supported fields:
# group: Cachet Group
# component: Cachet Component
# time: Zabbix event time
# trigger_name: Zabbix trigger name
# trigger_description: Zabbix trigger description (comment)
investigating: |
{group} | {component} check **failed** - {time}
```{trigger_name}```
# Template for resolved incidents (resolving)
# Supported fields:
# time: Incident resolved time in Cachet
resolving: |
__Resolved__ - {time}
______