Hi,
I need help again :(
I am trying to configure my Alertmanager to send separate alerts without
success.
Basically, I need to trigger two alerts for two different groups via
Telegram.
So, I created two alerts (Alert1 and Alert2) and two teams (Team1 and
Team2).
Team1 should only receive Alert1, while Team2 should receive both alerts
(Alert1 and Alert2).
However, only Team 2 is receiving the alerts. I don't know what is wrong.
Could someone help me find the error in my configuration?
[...]
route:
group_by: ["instance"]
receiver: 'Team2'
routes:
- matchers:
- alertname = "InstanceDown"
receiver: 'Team2'
continue: true
- matchers:
- alertname = "SystemdUnitDown"
- alertname = "InstanceDown"
receiver: 'Team1'
continue: true
receivers:
- name: 'Team1'
email_configs:
- to: 'email@domain'
send_resolved: true
html: ''
text: "Summary: {{ .CommonAnnotations.summary }}\ndescription: {{
.CommonAnnotations.description }}\n\n"
telegram_configs:
- api_url: 'https://api.telegram.org'
chat_id: -ID_HERE
bot_token: -TOKEN_HERE
- name: 'Team2'
telegram_configs:
- api_url: 'https://api.telegram.org'
chat_id: -ID_HERE
bot_token: -SAME_TOKEN_HERE
[...]
Tanks
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/a01166dd-366e-44fe-9585-3576c4393243n%40googlegroups.com.