have tried like this and it is showing status as firing only.


route:
  repeat_interval: 1d
  group_interval: 1d
  group_by: [Alertname]
  # Send all notifications to me.
  receiver: email-me
receivers:
- name: email-me
  email_configs:
  - to: sssbgmschoolanalyt...@gmail.com
    from: saialumnibharath...@gmail.com
    smarthost: smtp.gmail.com:587
    auth_username: "saialumnibharath...@gmail.com"
    auth_identity: "saialumnibharath...@gmail.com"
    auth_password: "password"


[image: alert.png]

[image: alert 2.png]

On Wednesday, November 25, 2020 at 2:04:31 PM UTC+5:30 Bharathwaj Shankar 
wrote:

> Please help me with the working sample of alertmanager.yml file to edit my 
> email and config to check
>
> On Wednesday, November 25, 2020 at 1:58:33 PM UTC+5:30 Bharathwaj Shankar 
> wrote:
>
>> I have tried with that as well. it is not working
>>
>> On Wednesday, November 25, 2020 at 1:48:10 PM UTC+5:30 mohd wrote:
>>
>>> Hello Bharathwaj,
>>>
>>> Can you please try with changing the from email address.
>>>
>>> Thank you,
>>> Regards,
>>> Mohd Zakir.
>>>
>>> On Wed, Nov 25, 2020 at 1:41 PM Bharathwaj Shankar <
>>> saialumni...@gmail.com> wrote:
>>>
>>>> The alert is getting triggered to alert manager but I am not receiving 
>>>> email.
>>>>
>>>>
>>>> The configuration I use is as below,
>>>>
>>>> global:
>>>>    smtp_require_tls: false
>>>>
>>>> route:
>>>>   group_by: ['instance', 'severity']
>>>>   group_wait: 30s
>>>>   group_interval: 60s
>>>>   repeat_interval: 60s
>>>>   receiver: team-1
>>>>
>>>> receivers:
>>>> - name: team-1
>>>>   email_configs:
>>>>   - to: saialumni...@gmail.com
>>>>     from: saialumni...@gmail.com
>>>>     smarthost: smtp.gmail.com:587
>>>>     auth_username: saialumni...@gmail.com
>>>>     auth_identity: saialumni...@gmail.com
>>>>     auth_password: eeeeeee
>>>>     send_resolved: true 
>>>>
>>>> -- 
>>>> 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 prometheus-use...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/prometheus-users/4fb57a64-e599-4937-997d-41ea98aab61an%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/prometheus-users/4fb57a64-e599-4937-997d-41ea98aab61an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9be0e982-9f90-40fc-bee6-46a208fcd18an%40googlegroups.com.

Reply via email to