CERKYR
Enthusiast
Enthusiast

SMTP Email Notifications : how to configure inside vCenter Server 6.5 ?

Hello,

I just need to find the article that show step by step the email notifications Inside the vCenter 6.5 ?
Regards,

12 Replies
Marcin4
Enthusiast
Enthusiast

Hello,

To configure an email notifications for an alarm:

  1. Log in to vCenter Server.
  2. Click the Administration tab and select vCenter Server Settings.
  3. Select the Mail option.
  4. For the SMTP Server option, enter the IP address or the DNS name of the email/exchange server to which the alert notification must be sent.
  5. For the Sender Account, enter the email address from which the alert must be sent.

After configuring the email notification for an alarm, set an email alert on the alarm.To set an email alert on the alarm:

  1. Select the vCenter Server and click the Alarms tab.
  2. Click Definitions and then select any alarm. For example, Datastore usage on disk.
  3. Right-click the Alarm and click Edit Settings.
  4. Click the Actions Tab and click Add.
  5. Select Send a Notification Email in the Action option.
  6. Under Configuration, enter an email address to receive the alert, and select the trigger as per requirement.
  7. Click OK.

VMware Knowledge Base

Best Regards
Marcin Gwóźdź
VCP-NV 6, VCIX-DCV 7, VCIX-DTM 7.
linkedin.com/in/marcin-gwóźdź-80b84b122
HassanAlKak88
Expert
Expert

Find the following: Configure Mail Sender Settings


Cheers,
vExpert2020-2019||vExpert-NSX2020||VCIX6-NV||VCAP-NV-DCV||VCP-NV-DC-CMA||CCNA-R&S
Twitter: @KakHassan
LinkedIn: linkedin.com/in/hassanalkak
0 Kudos
CERKYR
Enthusiast
Enthusiast

Hello,

Inside Vcenter console and VCSA Management, I just find "administration" but I don't find the rest of your proposal.

For Vcenter console, I used this link :

https://<hostname>.<domain_name>/vsphere-client

and the login is : administrator@<domain_name>

For VCSA Management :

https:///<hostname>.<domain_name>:5480/#/appliance/administration?locale=en

and the login is : root

Regards,

0 Kudos
Marcin4
Enthusiast
Enthusiast

Does your administrator@<domain_name> has full priviligies ?

Are you able to login as administrator@vsphere.local ?

Best Regards
Marcin Gwóźdź
VCP-NV 6, VCIX-DCV 7, VCIX-DTM 7.
linkedin.com/in/marcin-gwóźdź-80b84b122
0 Kudos
CERKYR
Enthusiast
Enthusiast

Hello,

The profile for this account is "administrator"; then "full privilèges"

--

"Are you able to login as administrator@vsphere.local ?"

local ?

Regards,

0 Kudos
Marcin4
Enthusiast
Enthusiast

Hello,

Please do as follow:

1. Login to your vCenter as administrator

2. Click on your go to Host and Cluster and Click on your vCenter

3. Click Configure and go to General

4. Configure your e-mail details on Mail tab.

4. pastedImage_2.png

Best Regards
Marcin Gwóźdź
VCP-NV 6, VCIX-DCV 7, VCIX-DTM 7.
linkedin.com/in/marcin-gwóźdź-80b84b122
0 Kudos
CERKYR
Enthusiast
Enthusiast

OK, it's more clear; and the SMTP configuration is done with the email server @IP.

I also build some alarms, but I don"t receive any email.

How to check this through some logs ?

The error message is " cannot login root@<email_server@ip> "

0 Kudos
Marcin4
Enthusiast
Enthusiast

Look at /var/log/vmware/vmware-vpx/vpxd.log to check out whether it contains entries regarding the SMTP issue.

Best Regards
Marcin Gwóźdź
VCP-NV 6, VCIX-DCV 7, VCIX-DTM 7.
linkedin.com/in/marcin-gwóźdź-80b84b122
0 Kudos
CERKYR
Enthusiast
Enthusiast

Inside the VM VCSA Shell, this path doesn't exist :

/var/log/vmware/vmware-vpx

I just have /var/log/vmware

and /var/log/vmware/vpxd    too

0 Kudos
Marcin4
Enthusiast
Enthusiast

Check if that KB fit's your issue

VMware Knowledge Base

Best Regards
Marcin Gwóźdź
VCP-NV 6, VCIX-DCV 7, VCIX-DTM 7.
linkedin.com/in/marcin-gwóźdź-80b84b122
0 Kudos
CERKYR
Enthusiast
Enthusiast

But i find :

/storage/log/vmware/vpxd/vpxd.log

(after updatedb and locate)

0 Kudos
CERKYR
Enthusiast
Enthusiast

Hello,

The link is not working.

Regards,

0 Kudos