Interview Prep/Monitoring & Observability/Alerting and Alertmanager

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).

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and Alertmanager