smtp_smarthost: 'smtp.gmail.com:587'
smtp_from: 'AlertManager <x...@gmail.com>'
smtp_require_tls: true
smtp_hello: 'alertmanager'
smtp_auth_username: 'xyz'
smtp_auth_password: 'XXXXXXXXXXXXXXX'
slack_api_url: 'https://hooks.slack.com/services/XYZ/ABC/EFG5'
route:
group_by: ['instance', 'alert']
group_wait: 30s
group_interval: 5m
repeat_interval: 1h
receiver: 'R1'
receivers:
- name: 'R1'
# email_configs:
# - to: 'a...@gmail.com'
slack_configs:
# https://prometheus.io/docs/alerting/configuration/#slack_config
- channel: 'system_events'
- username: 'AlertManager'
webhook_configs:
- url: 'https://discordapp.com/api/webhooks/XYZ/ABC'
1-Why I am not receiving alerts Discord?
2-Is there a better way to achieve the same thing(Discord Integration)?
cancelling notify retry for \"webhook\" due to unrecoverable error: unexpected status code 400: https://discordapp.com/api/webhooks/YYYYYYY/XXXXXXX"