Linux technical support - [email protected]


alertmanager

alertmanager prometheus example config

global:
  smtp_smarthost: 'smtp.alexlinux.com:25'
  smtp_from: '[email protected]'

templates:
- '/etc/alertmanager/template/*.tmpl'

route:
  group_by: ['alertname', 'cluster', 'service']
  group_wait: 30s
  group_interval: 1m
  repeat_interval: 1h
  receiver: default-receiver
  routes:
  - match:
      severity: warning
    receiver: linux_mail
  - match:
      severity: critical
    receiver: linux_sms

receivers:
- name: 'default-receiver'
- name: 'linux_mail'
  email_configs:
  - to: '[email protected]'
    require_tls: false
    send_resolved: true
- name: 'linux_sms'
  webhook_configs:
  - url: http://10.10.210.231

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>