vSphere 6.7

VMware vRealize Operations 7.0 vCenter Connection and SMTP Configuration

A look at configuring VMware vRealize Operations 7.0 vCenter Connection and SMTP Configuration to start collecting data from vSphere and alerting

With the release of vRealize Suite 2018, VMware has certainly raised the bar of its vRealize platform, including vRealize Operations 7.0, vRealize Automation 7.5, vRealize Suite Lifecycle Manager 2.0, vRealize Business for Cloud 7.5, and vRealize Log Insight 4.7. All of these new products represent a leap forward for vRealize. We have already introduced and started looking at VMware vRealize Operations 7.0 in the VMware vRealize Operations 7.0 New Features Installation and Configuration post, in this post, we will take that initial provisioning of vRealize Operations 7.0 a bit further and show the steps to get vRealize Operations 7.0 connected to vCenter Server and also configure an SMTP connection to send email alerts and other notifications. Let’s take a look at VMware vRealize Operations 7.0 vCenter Connection and SMTP Configuration to see how this is accomplished as we push further into vROPs 7.0.

VMware vRealize Operations 7.0 vCenter Connection and SMTP Configuration

There are two fundamental things that you most likely want to accomplish right off the start with vRealize Operations Manager 7.0.ย  These are getting connected to vCenter Server so you can start performing monitoring of the environment and then also configuring an SMTP outbound connection so you can start to receive alerts from the vRealize Operations Manager 7.0 alerting.ย  First things first, login to the VMware vRealize Operations Manager appliance web interface using your local credentials configured.

Login-to-the-vRealize-Operations-Manager-7.0-administrative-interface
Login to the vRealize Operations Manager 7.0 administrative interface

Now, you want to navigate toย Administration >> Solutions >> VMware vSphere to begin configuring.ย  Click on VMware vSphere and then click the settings “cog” under Solutions.

Configuring-the-vCenter-Connection-in-vRealize-Operations-7.0-under-administration-menu
Configuring the vCenter Connection in vRealize Operations 7.0 under administration menu

This will launch theย Manage Solution – VMware vSphere dialog box.ย  Here, you will want to configure a name forย vCenter Server, either an FQDN or IP address.ย  Then, on theย Credentials line, you will want to click the “+” button to add credentials for connectivity.

Adding-the-vCenter-Server-hostname-and-the-credentials-for-connecting
Adding the vCenter Server hostname and the credentials for connecting

You will see theย Manage Credentialย dialog box pop up.ย  Here, enter credentials for connecting to vCenter Server.ย  Here I am using the SSO administrator in the lab environment which is overkill and most likely not what you want to do in production.ย  According to the VMware KB article 53164 the below are the required permissions for the user used in vRealize Operations Manager:

  • vCenter 6.0 and Earlier
    • Global > Health
    • Profile-Driven Storage > View
    • Storage views > View
    • vCenter Inventory Service
  • vCenter 6.5 and Later
    • Global > Global Tag
    • Global > Health
    • Global > System Tag
    • Profile-Driven Storage > View
    • Storage Views > View
vRealize-Operations-Manager-7.0-Manage-Credential-allows-adding-credentials-for-vCenter-Server-connection
vRealize Operations Manager 7.0 Manage Credential allows adding credentials for vCenter Server connection

After adding credentials, you will see these automatically populated in the Credential field.ย  You can then click theย Test Connection button to ensure the credentials are correct and you can successfully connect to vCenter Server.ย  After verifying, click theย Save Settings button.

Selecting-credentials-added-in-vRealze-Operations-Manager-7.0-and-testing-the-connection-to-the-vCenter-Server
Selecting credentials added in vRealize Operations Manager 7.0 and testing the connection to the vCenter Server

You can also click theย Define Monitoring Goals button to configure the goals of vRealize Operations Manager 7.0 monitoring.

Define-Monitoring-Goals-for-vRealize-Operations-Manager-7.0
Define Monitoring Goals for vRealize Operations Manager 7.0

As you can see, there are many options that can be chosen and configured.ย  These include:

  • Which objects do you want to be alerted on in your environment?
    • Infrastructure objects except for Virtual Machines
    • Virtual Machines Only
    • All vSphere Objects (Default)
  • Which type of alerts do you want to enable?
    • Health alerts that usually require immediate attention (Enabled by default)
    • Risk alerts indicating that you should look into any problems in the near futureย (Enabled by default)
    • Efficiency alerts indicating that you can reclaim resourcesย (Enabled by default)
  • Enable vSphere Hardening Guide Alerts?
    • Yes
    • No (Default)
Selecting-options-for-the-Define-Monitoring-Goals-configuration-in-vRealize-Operations-Manager-7.0
Selecting options for the Define Monitoring Goals configuration in vRealize Operations Manager 7.0

After configuring the vCenter Server connection and defining monitoring goals and then saving your settings, you should see the Adapter Status displayย Data receiving, meaning it is connected and is polling and monitoring the environment to alert and make recommendations.

Data-receiving-from-vCenter-Server-in-vRealize-Operations-Manager-7.0
Data receiving from vCenter Server in vRealize Operations Manager 7.0

Now, to configure SMTP outbound email flow, we need to configure theย Outbound Settings found in theย Administration >> Management >> Outbound Settings section.ย  Click theย “+” button to add a new plugin type configuration.

Configuring-Outbound-settings-under-Administration-in-vRealize-Operations-Manager-7.0
Configuring Outbound settings under Administration in vRealize Operations Manager 7.0

In theย Add/Edit Outbound Instance, select theย Standard Email Plugin in the drop down box forย Plugin Type.

vRealize-Operations-Manager-7.0-Adding-Outbound-Instance-using-Standard-Email-Plugin
vRealize Operations Manager 7.0 Adding Outbound Instance using Standard Email Plugin

Here is where we can configure the details of the SMTP connection.ย  This includes:

  • Instance Name
  • Use Secure Connection
  • Requires Authentication
  • SMTP Host
  • SMTP Port
  • Secure Connection Type
  • User Name
  • Password
  • Sender Email Address
  • Sender Name
  • Receiver Email Address

Once you have your connection configured, you can choose toย Testย the connection.ย  Below, I am relaying off of GMail’s SMTP server which is allowed.ย  In the case of GMail, you have to configure your connection to use your GMail email address as the user name and then your password.ย  Your sender and receiving email address will be the same in this case.

Using-Gmail-for-outbound-email-in-vRealize-Operations-Manager-7.0
Using Gmail for outbound email in vRealize Operations Manager 7.0

When you choose to utilize an SMTP connection that makes use of TLS/SSL, you will be presented with a certificate to accept.ย  Place a check in teh boxย Accept this Certificate and clickย OK.

Accept-the-certificate-presented-with-TLS-or-SSL-email-authentication
Accept the certificate presented with TLS or SSL email authentication

Clickย OK on theย Review and Accept Certificate dialog box.

Certificate-saved-in-vRealize-Operations-Manager-7.0-for-outbound-email
Certificate saved in vRealize Operations Manager 7.0 for outbound email

You should now see the newย SMTP outbound connection listed under theย Outbound Settingsย Instance Name.

SMTP-outbound-connection-is-now-added-in-vRealize-Operations-Manager-7.0
SMTP outbound connection is now added in vRealize Operations Manager 7.0

Takeaways

The process for configuringย VMware vRealize Operations 7.0 vCenter Connection and SMTP Configuration is very straightforward and easily accomplished if you know which menus to look under, which hopefully this post helps with.ย  VMware vRealize Operations Manager 7.0 is a great solution to monitor and manage VMware vSphere environments with a lot of newย intent based monitoring and cloud awareness that helps to round out the solution for increasingly more common hybrid vSphere environments leveraging VMware Cloud on AWS and other solutions.ย  Look for more posts coming soon as we dig deeper into vRealize Operations Manager 7.0 and the new features and functionality therein.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.