Files
novalon-website/monitoring/alertmanager.yml
T

52 lines
1.3 KiB
YAML

global:
resolve_timeout: 5m
route:
group_by: ['alertname', 'cluster', 'service']
group_wait: 10s
group_interval: 10s
repeat_interval: 12h
receiver: 'default'
routes:
- match:
severity: critical
receiver: 'critical-alerts'
continue: true
- match:
severity: warning
receiver: 'warning-alerts'
receivers:
- name: 'default'
email_configs:
- to: 'ops@novalon.cn'
from: 'alertmanager@novalon.cn'
smarthost: 'smtp.resend.com:587'
auth_username: 'resend'
auth_password: 're_72PzbVrr_DiwTnB1ZDT7TyqCsgLoAfKfU'
require_tls: true
- name: 'critical-alerts'
email_configs:
- to: 'ops@novalon.cn'
from: 'alertmanager@novalon.cn'
smarthost: 'smtp.resend.com:587'
auth_username: 'resend'
auth_password: 're_72PzbVrr_DiwTnB1ZDT7TyqCsgLoAfKfU'
require_tls: true
headers:
Subject: '🚨 CRITICAL: Novalon Website Alert'
- name: 'warning-alerts'
email_configs:
- to: 'ops@novalon.cn'
from: 'alertmanager@novalon.cn'
smarthost: 'smtp.resend.com:587'
auth_username: 'resend'
auth_password: 're_72PzbVrr_DiwTnB1ZDT7TyqCsgLoAfKfU'
require_tls: true
headers:
Subject: '⚠️ WARNING: Novalon Website Alert'