Thanks, Brian. Regarding Slack integration, even the built-in slack 
integration requires a webhook URL of the user's slack channel, right?

On Wednesday, May 6, 2020 at 7:06:28 PM UTC+5:30, Brian Candler wrote:
>
> On Wednesday, 6 May 2020 13:17:50 UTC+1, adi garg wrote:
>>
>> Hey guys, I need to integrate my alertmanager with slack and Gmail. 
>>
>> For Slack:-
>> I got one method using incoming webhooks. Is it the only way or can you 
>> please suggest some more ways.
>>
>>
> You could use the built-in Slack integration which alertmanager already 
> has:
> https://prometheus.io/docs/alerting/configuration/#slack_config
>
>  
>
>> For Gmail:-
>> I got one method using the app password in Gmail, but it requires the 
>> user to have 2-step verification active in Gmail. I don't think it's good 
>> to impose this condition on the user. I don't even want to have a separate 
>> mail server for this. Can someone suggest some methods for this?
>>
>
> Remember that alertmanager is the sender of the E-mail, not the receiver, 
> so it doesn't need to know the receiving user's credentials.  This means 
> you can:
>
> - Configure your own local SMTP server, and use it to deliver messages to 
> [email protected] <javascript:>
> or
> - Create another username in your GSuite/Google Docs account, just for 
> alertmanager to send E-mail notifications, which doesn't require 2FA
> or
> - Create a free gmail.com account, and use it for delivering E-mail 
> notifications (beware you might hit some rate limits if you send too many 
> alerts)
>
>

-- 
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/08d6edcc-aaee-4c57-862c-8f1cb9c01308%40googlegroups.com.

Reply via email to