Alertmanager shows the alert but Slack receives nothing
BeginnerTroubleshootingAlerting and Alertmanager
Answer
Likely causes → The route matches a different receiver, the webhook URL is wrong or revoked, or the channel is not the one the webhook is bound to.
Diagnose →
amtool config routes test --config.file=alertmanager.yml severity=critical team=payments
kubectl logs alertmanager-main-0 -c alertmanager | grep -i 'notify\|slack'
rate(alertmanager_notifications_failed_total{integration="slack"}[5m])
Fix → Correct routing matchers and api_url/api_url_file. Test the webhook directly with curl -X POST -H 'Content-type: application/json' --data '{"text":"test"}' $WEBHOOK.
Prevent → Alert on alertmanager_notifications_failed_total via a second channel (email/PagerDuty).
More on Alerting and Alertmanager
An alert shows `Pending` in Prometheus but never goes to `Firing`BeginnerAn alert is `Firing` in Prometheus but nothing reaches AlertmanagerIntermediateAlertmanager logs `notify retry canceled due to unrecoverable error after 1 attempts: channel_not_found`IntermediateAlertmanager logs `unexpected status code 404: no_service` / `invalid_token` for SlackBeginnerAlertmanager fails to load config: `yaml: unmarshal errors: field matchers not found in type config.plain`IntermediateAlerts fire constantly: the same alert re-notifies every 5 minutesBeginner