You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prodwork01-argocd/templates/secret_alertmanager-config....

53 lines
1.4 KiB
YAML

apiVersion: v1
stringData:
alertmanager.yaml: |
global:
resolve_timeout: 15m
route:
group_by: ['alertname']
group_wait: 1m
group_interval: 5m
repeat_interval: 3h
receiver: devnull
routes:
- match:
team: alerting-nso-mobene
severity: warning|critical
receiver: alerting-nso-mobene
continue: true
- receiver: devnull
match_re:
severity: none|info
continue: true
- receiver: alerting-nso-devops
match:
severity: warning|critical
continue: false
inhibit_rules:
- source_match:
alertname: "Watchdog"
target_match:
alertname: "KubeSchedulerDown"
equal: [prometheus]
- source_match:
alertname: "Watchdog"
target_match:
alertname: "KubeControllerManagerDown"
equal: [prometheus]
receivers:
- name: devnull
- name: alerting-nso-devops
webhook_configs:
- url: "http://prometheus-msteams:2000/alert-nso-team-devops"
send_resolved: true
- name: alerting-nso-mobene
webhook_configs:
- url: "http://prometheus-msteams:2000/alert-nso-team-erechnung-mobene"
send_resolved: true
kind: Secret
metadata:
name: {{ .Values.bootstrap.alertmanager_config_secret_name }}
namespace: monitoring
type: Opaque