Unable to send the Alert using watcher

alerting

(Ganesh) #1

HI Team,
I'm using ELK 6.2 and trying to send advance alert but im getting below error,

 "id": "send_email",
        "type": "email",
        "status": "failure",
        "error": {
          "root_cause": [
            {
              "type": "messaging_exception",
              "reason": "failed to send email with subject [test] via account [exchange_account]"
            }
          ],
          "type": "messaging_exception",
          "reason": "failed to send email with subject [test] via account [exchange_account]",
          "caused_by": {
            "type": "authentication_failed_exception",
            "reason": "535 5.7.0 authentication failed\n"

This is my mail smtp setting in elasticsearch.yml

xpack.notification.email.account:
  exchange_account:
    profile: outlook
    email_defaults:
      from: elasticsearch@aexp.com
    smtp:
      auth: true
      starttls.enable: true
      host: xxx.aexp.com
      port: 25
      user: elastic
      password: xxxxx

i have modified this in all cluster node. Please anyone help me on this


(Thiago Souza) #2

That means that the configured credentials (user and/or password) for this email account is wrong.