Groups
Groups
Sign in
Groups
Groups
Prometheus Users
Conversations
About
Send feedback
Help
Alertmanager config issue - notification config name "..." is not unique
24 views
Skip to first unread message
dc3o
unread,
Dec 16, 2020, 5:29:02 AM
12/16/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
I'm trying to set receivers section in alertmanager.yaml like this:
- name: alerta
webhook_configs:
- url:
https://alerta/api/webhooks/prometheus
send_resolved: true
slack_configs:
- api_url:
https://hooks.slack.com/abc123
channel: "#DC30-info"
- name: slack
slack_configs:
- api_url:
https://hooks/slack/def456
channel: "#DC30-warning"
webhook_configs:
- url:
https://alerta/api/webhooks/prometheus
send_resolved: true
- name: pagerduty
routing_key: ...
In routing section than:
routes:
- match:
severity: info
receiver: alerta
- match:
severity: critical
receiver: pagerduty
- match:
severity: warning
receiver: slack
Amtool config check is repoprting this
error FAILED: notification config name "alerta" is not unique
Main reason for not using
continue
in routes section is duplication of alerts in alertmanager webui and this article
https://www.robustperception.io/sending-alert-notifications-to-multiple-destinations
Thanks
L.walid (PowerM)
unread,
Dec 16, 2020, 6:36:51 AM
12/16/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dc3o, Prometheus Users
Hi,
Can you paste the whole alert config file
Sent from my iPhone
> On Dec 16, 2020, at 11:29 AM, dc3o <
deln...@gmail.com
> wrote:
>
> FAILED: notification config name
Reply all
Reply to author
Forward
0 new messages