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]
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/61b9e39e-4f7f-4db6-ab8a-50751ca6bfd2%40googlegroups.com.

Reply via email to