same: i want sent Resolved to channel Resolved telegram and sent Firing to
channel Firing telegram, how can i do it, ,2022 year?
routes:
- receiver: "telegram-critical"
match_re:
severity: "critical"
alertstate: "firing"
group_wait: 10s
continue: true
- receiver: "telegram-warning"
match_re:
severity: "warning"
alertstate: "firing"
group_wait: 10s
continue: true
- match_re:
severity: "warning"
alertstate: "resloved"
receiver: "telegram-resolved"
continue: false
Vào lúc 21:31:12 UTC+7 ngày Thứ Hai, 22 tháng 2, 2021, [email protected]
đã viết:
> Hi team,
>
> I am still looking for this info. Is there a way to separate FIRING ,
> RESOLVED into different mails completely ?
>
>
> On Tuesday, January 19, 2021 at 11:55:15 AM UTC+5:30 kalai ganeshan wrote:
>
>> Anyone has idea on this ? I am in same scenario. I am getting FIRING ,
>> RESOLVED in same mail. Is there a way to split them in separate mails ?
>>
>> On Saturday, June 15, 2019 at 12:15:48 PM UTC+5:30 Christian Hoffmann
>> wrote:
>>
>>> On 2019-05-16 08:04, [email protected] wrote:
>>> > Hi, I configured alert manager as follow:
>>> >
>>> > route:
>>> > receiver: alert-receiver
>>> > group_wait: 30s
>>> > group_interval: 5m
>>> > repeat_interval: 24h
>>> > group_by: [alertname]
>>> > receivers:
>>> > - name: "alert-receiver"
>>> > email_configs:
>>> > - to: [email protected]
>>> > send_resolved: true
>>> >
>>> > And one day it send me with following email:
>>> >
>>> > Capture.PNG
>>> >
>>> >
>>> > How can I put firing events and resolved events in different email? I
>>> > have checked there are alertstate label in ALERTS metrics, wondering
>>> if
>>> > I can use something like group_by: [alertname, alertstate] in config?
>>>
>>> I would also have suggested grouping by alertstate. Did you try it? Does
>>> it work?
>>>
>>> Kind regards,
>>> Christian
>>>
>>
--
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/9fc30e1c-6fe8-4285-a161-4f9882d195d9n%40googlegroups.com.