VMware vSphere

 View Only
  • 1.  vCenter alerts and smtp authentication

    Posted Jun 10, 2016 03:13 PM

    Hi Guys,

    I'm trying to send vCenter alerts so I can keep track of what is going on with my hardware but unfortunately I do now see a place to enter the username and password for authentication.  Is there some place special to configure this?

    Thank you!



  • 2.  RE: vCenter alerts and smtp authentication

    Posted Jun 11, 2016 10:36 AM

    What are you trying to authenticate to?



  • 3.  RE: vCenter alerts and smtp authentication

    Posted Jun 11, 2016 10:50 AM

    Office 365 would be ideal but any smtp server would do.



  • 4.  RE: vCenter alerts and smtp authentication

    Posted Jun 13, 2016 05:08 AM

    Right, now I see what you mean.

    No, unfortunately SMTP authentication in vCenter is not supported. You will have to disable authentication for vCenter on your SMTP server by whitelisting its IP address.



  • 5.  RE: vCenter alerts and smtp authentication

    Posted Oct 06, 2016 07:55 AM

    For vCenter v6.0, if you would like to enable SMTP authentication settings you could do so actually in the vCenter Server Settings -> Advance Settings :

    KEY : VALUE

    mail.sender : The alert email address e.g. alert@mydomain.com

    mail.smtp.username : The valid SMTP account name e.g. david@mydomain.com

    mail.smtp.password : The valid SMTP account password

    mail.smtp.port : The SMTP receiving port e.g. 25

    mail.smtp.server : The SMTP host e.g. mail.mydomain.com

    Hope this help. Not too sure if this is valid for v5.5 but for sure this is working for my current v6.0 environment that use plain SMTP authentication.



  • 6.  RE: vCenter alerts and smtp authentication

    Posted Oct 01, 2017 02:12 AM

    I stand corrected. It's supported in 5.5 as well. Same advanced settings keys apply. #TIL



  • 7.  RE: vCenter alerts and smtp authentication

    Posted Nov 06, 2017 12:35 PM

    Hi,

    Please try these steps:

    Select your vCenter Server and go to Configure menu

    Under General, provide your Mail server (e.g mail.smtpserver.com) and mail sender (e.g vcenter-notification@smtpserver.com)

    Once done, go to Advance Settings and look for

    mail.smtp.password and provide the value by clicking the Edit

    same with mail.smtp.port and set port 25

    then lastly, provide the mail.smtp.username

    Once done click Ok

    Good Luck!