Hi team

AlertManager is configured to fetch alerts from prometheus ,but 
alertmanager is not sending emails notifications. 

Getting following errors in alertmanager pod :-
level=error ts=2020-07-02T12:10:31.371Z caller=notify.go:372 
component=dispatcher msg="Error on notify" err="*email.loginAuth auth: 535 
5.7.8 Username and Password not accepted. Learn more at\n5.7.8  
https://support.google.com/mail/?p=BadCredentials h11sm4731207ilh.69 - 
gsmtp" context_err="context deadline exceeded"
level=error ts=2020-07-02T12:10:31.372Z caller=dispatch.go:266 
component=dispatcher msg="Notify for alerts failed" num_alerts=1 
err="*email.loginAuth auth: 535 5.7.8 Username and Password not accepted. 
Learn more at\n5.7.8  https://support.google.com/mail/?p=BadCredentials 
h11sm4731207ilh.69 - gsmtp"

 Alertmanager configmap info:-

  global:
  route:
    receiver: alert-emailer
    group_by: ['alertname', 'priority']

  receivers:
  - name: alert-emailer
    email_configs:
    - to: [email protected]
      send_resolved: false
      from: [email protected]
      smarthost: smtp.gmail.com:587
      auth_username: [email protected]
      auth_password: xxxxxxxxxxxxx


Any idea? 

Thanks 
Neha

-- 
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/d7b7be50-35c5-48fd-bb3f-c2bff2dfe82ao%40googlegroups.com.

Reply via email to