alertmanager.yml 441 B

123456789101112131415161718
  1. global:
  2. slack_api_url: "https://hooks.slack.com/services/SlackWebhookAPI"
  3. route:
  4. group_by: ['instance', 'severity']
  5. group_wait: 30s
  6. group_interval: 5m
  7. repeat_interval: 3h
  8. routes:
  9. - match:
  10. alertname: InstanceDown
  11. receiver: 'alert-team'
  12. receivers:
  13. - name: 'alert-team'
  14. slack_configs:
  15. - channel: "#webhook-test"
  16. text: "summary: {{ .CommonAnnotations.summary }}\ndescription: {{ .CommonAnnotations.description }}"