You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
773 B
39 lines
773 B
global:
|
|
resolve_timeout: 5m
|
|
|
|
route:
|
|
group_by: ['alertname']
|
|
group_wait: 10s
|
|
group_interval: 5m
|
|
repeat_interval: 10m
|
|
receiver: 'email'
|
|
|
|
receivers:
|
|
- name: 'email'
|
|
email_configs:
|
|
- to: 'mail1@mail.com, mail2@mail.com'
|
|
from: ''
|
|
smarthost:
|
|
auth_username: ''
|
|
auth_identity: ''
|
|
auth_password: ''
|
|
require_tls: yes
|
|
send_resolved: true
|
|
|
|
# mute_time_intervals:
|
|
# - name: out-of-business-hours
|
|
# time_intervals:
|
|
# - weekdays: ['Saturday','Sunday']
|
|
# - times:
|
|
# - start_time: '00:00'
|
|
# end_time: '08:00'
|
|
# - start_time: '18:00'
|
|
# end_time: '24:00'
|
|
|
|
inhibit_rules:
|
|
- source_match:
|
|
severity: 'critical'
|
|
target_match:
|
|
severity: 'warning'
|
|
equal: ['alertname', 'dev', 'instance']
|
|
|
|
|