-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalertmanager.yml
More file actions
40 lines (35 loc) · 1.15 KB
/
alertmanager.yml
File metadata and controls
40 lines (35 loc) · 1.15 KB
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
# =============================================================================
# SmartTalker — Alertmanager Configuration
# Docs: https://prometheus.io/docs/alerting/latest/configuration/
# =============================================================================
global:
resolve_timeout: 5m
route:
group_by: ['alertname', 'severity']
group_wait: 30s
group_interval: 5m
repeat_interval: 4h
receiver: 'default'
routes:
- match:
severity: critical
receiver: 'critical'
repeat_interval: 1h
receivers:
- name: 'default'
# Configure your notification channel here.
# Example — Slack:
# slack_configs:
# - api_url: 'https://hooks.slack.com/services/YOUR/WEBHOOK/URL'
# channel: '#smarttalker-alerts'
# send_resolved: true
#
# Example — Email:
# email_configs:
# - to: 'ops@your-domain.com'
# from: 'alertmanager@your-domain.com'
# smarthost: 'smtp.gmail.com:587'
# auth_username: 'alertmanager@your-domain.com'
# auth_password: 'app-password'
- name: 'critical'
# Same as default — override with a higher-priority channel if needed.