Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alertmanager is showing error Username and Password not accepted #2975

Closed
mohdrashid1 opened this issue Sep 30, 2020 · 11 comments
Closed

Alertmanager is showing error Username and Password not accepted #2975

mohdrashid1 opened this issue Sep 30, 2020 · 11 comments

Comments

@mohdrashid1
Copy link

i have installed prometheus in that i also install alertmanager for email notification into my gmail account

below is the error im getting i have given app password but still im getting error
level=warn ts=2020-09-30T13:25:50.041Z caller=notify.go:674 component=dispatcher receiver=slack integration=email[0] msg="Notify attempt failed, will retry later" attempts=3 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 m1sm194703lfr.32 - gsmtp"

image

@nsano-rururu
Copy link
Contributor

Is the vocation related to elastalert?

@nsano-rururu
Copy link
Contributor

nsano-rururu commented Oct 1, 2020

Patterns that didn't work

Specify from_addr as gmail email address

Refer to the following URL for settings
johnsusek/praeco#245 (comment)

Well-spoken pattern

Specify from_addr as an email address other than gmail

Refer to the following URL for settings
johnsusek/praeco#245 (comment)

@nsano-rururu
Copy link
Contributor

@mohdrashid1

If it is different from the answer to the question, I will delete the comment, so please reply.

@mohdrashid1
Copy link
Author

mohdrashid1 commented Oct 4, 2020 via email

@nsano-rururu
Copy link
Contributor

ElastAlert shouldn't support Alertmanager? .. do not know.

@mohdrashid1
Copy link
Author

mohdrashid1 commented Oct 4, 2020 via email

@nsano-rururu
Copy link
Contributor

By the way, the support of ElastAlert of Alertmanager, although a pull request was issued a while ago, it is an error.

Add Alertmanager alerter #2228

@nsano-rururu
Copy link
Contributor

Ok i can understand u can closed ticket now

On Sun, 4 Oct 2020, 4:10 pm Naoyuki Sano, @.***> wrote: ElastAlert shouldn't support Alertmanager? .. do not know. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2975 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJWR26MJRHYT7UWI67IATTSJBGK5ANCNFSM4R7DTGFQ .

I still don't know what the settings are. Determine if you close.

@mohdrashid1
Copy link
Author

@nsano-rururu I have try with different email id but still i didnt problem

@mohdrashid1
Copy link
Author

@nsano-rururu here is my alertmanager.yml

- name: 'gmail-notifications'
  email_configs:
      - to: [email protected]
        from: [email protected]
        smarthost: smtp.gmail.com:587
        auth_username: [email protected]
        auth_identity: [email protected]
        auth_password: swfyzxxxxexxx

@nsano-rururu
Copy link
Contributor

nsano-rururu commented Oct 5, 2020

It wasn't an ElastAlert question from the beginning. understood.
You asked about the settings of Alert Manager, which is the notification function of Prometheus.
The site to ask is different.

prometheus / alertmanager
https://github.com/prometheus/alertmanager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants