Open johirulalam opened 8 months ago
Hi, 403 error codes should not be retried. IT seems that there is some issue with your slack configuration: https://api.slack.com/messaging/webhooks#handling_errors
Hi @rapphil Does alertmanager retry only 5xx errors? Is there a documentation present on retry mechanism of Alertmanager?
ts=2024-02-18T18:53:00.366Z caller=dispatch.go:352 level=error component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="slack-notifications/slack[0]: notify retry canceled due to unrecoverable error after 1 attempts: channel \"#monitoring\": unexpected status code 403: invalid_token"
alertmanager.yml global: slack_api_url: 'https://hooks.slack.com/services/T06L1G****'
route: receiver: 'slack-notifications'
receivers:
Rules
groups:
name: os rules: