Skip to content

Instantly share code, notes, and snippets.

@jamcole
Created August 10, 2020 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamcole/59f00a0bdf5c5b8414194a519ea1d394 to your computer and use it in GitHub Desktop.
Save jamcole/59f00a0bdf5c5b8414194a519ea1d394 to your computer and use it in GitHub Desktop.
alertmanager-main simple for openshift
global:
resolve_timeout: 5m
route:
group_wait: 30s
group_interval: 5m
repeat_interval: 12h
receiver: default
routes:
- match:
alertname: DeadMansSwitch
repeat_interval: 5m
receiver: deadmansswitch
- receiver: ops-email
repeat_interval: 30m
receivers:
- name: default
- name: deadmansswitch
- name: ops-email
email_configs:
- to: 'ECP Service Account <alerts-mon-is-ecp@example.com>'
from: 'ECP Service Account <alerts-mon-is-ecp@example.com>'
smarthost: 'apprelay.corp.example.com:25'
send_resolved: true
require_tls: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment