I’m getting following error in Alertmanager pod
level=error component=dispatcher msg=“Notify for alerts failed” num_alerts=1 err=“slack/slack[1]: notify retry canceled due to unrecoverable error after 1 attempts: channel "": unexpected status code 404: no_service; slack/slack[0]: notify retry canceled due to unrecoverable error after 1 attempts: channel "channel name": unexpected status code 404: no_service”
Following is my alertmanger.yaml
config:
enabled: true
global:
resolve_timeout: 5m
slack_api_url:
# slack_api_url: ‘’
templates:
- ‘/etc/alertmanager/*.tmpl’
receivers:
- name: slack
slack_configs:
- channel: ams_az_alerts
- send_resolved: true
footer: “demo-dev-alertmanager”
route:
group_by: [‘severity’,‘job’]
group_wait: 30s
group_interval: 1m
repeat_interval: 6h
receiver: slack