This is not the correct config.
You need to provide the actual credentials

    smarthost: 'email-smtp.eu-west-1.amazonaws.com:587'
    auth_username: 'oirutoeirutoieurt'
    auth_password: 'kajdgfkjasgdkjfgas'

On Wednesday, November 25, 2020 at 5:48:20 PM UTC+5:30 
[email protected] wrote:

> the issue is resolved
>
> On Wednesday, November 25, 2020 at 3:07:56 PM UTC+5:30 Bharathwaj Shankar 
> wrote:
>
>> still facing the same issue. any other idea??
>>
>> On Wednesday, November 25, 2020 at 2:15:31 PM UTC+5:30 Bharathwaj Shankar 
>> wrote:
>>
>>> 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: [email protected]
>>>     from: [email protected]
>>>     smarthost: smtp.gmail.com:587
>>>     auth_username: "[email protected]"
>>>     auth_identity: "[email protected]"
>>>     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 <
>>>>>> [email protected]> 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: [email protected]
>>>>>>>     from: [email protected]
>>>>>>>     smarthost: smtp.gmail.com:587
>>>>>>>     auth_username: [email protected]
>>>>>>>     auth_identity: [email protected]
>>>>>>>     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 [email protected].
>>>>>>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3ea449a7-514a-4149-864b-bcb70c9f19ben%40googlegroups.com.

Reply via email to