essexregister
Contributor
Contributor

vCenter alerts and smtp authentication

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!

Nick_Andreev
Expert
Expert

What are you trying to authenticate to?

---
If you found my answers helpful please consider marking them as helpful or correct.
VCIX-DCV, VCIX-NV, VCAP-CMA | vExpert '16, '17, '18
Blog: http://niktips.wordpress.com | Twitter: @nick_andreev_au
Reply
0 Kudos
essexregister
Contributor
Contributor

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

Reply
0 Kudos
Nick_Andreev
Expert
Expert

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.

---
If you found my answers helpful please consider marking them as helpful or correct.
VCIX-DCV, VCIX-NV, VCAP-CMA | vExpert '16, '17, '18
Blog: http://niktips.wordpress.com | Twitter: @nick_andreev_au
Reply
0 Kudos
KKLY
Contributor
Contributor

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.

Nick_Andreev
Expert
Expert

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

---
If you found my answers helpful please consider marking them as helpful or correct.
VCIX-DCV, VCIX-NV, VCAP-CMA | vExpert '16, '17, '18
Blog: http://niktips.wordpress.com | Twitter: @nick_andreev_au
Reply
0 Kudos
VM_JOf
Enthusiast
Enthusiast

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!

Reply
0 Kudos