How to Configure vCenter Server to Send Alarm Email Notifications

One of the automated actions that can be configured when your vCenter Server Alarm is triggered.

Crystal

By Crystal / Updated on May 8, 2023

Share this: instagram reddit

Sending vCenter Email Notification When Alarm is Triggered

vCenter has an ability to notify administrators about certain events that happen in the vSphere environment. An administrator can choose from a few hundred events. These events, thresholds, and actions are configurable through alarm definitions in vCenter. One of the possible actions is the email notification.

You are able to configure vCenter server to send an email notification when your vCenter Server Alarm is triggered. It takes a few minutes to confirm if you had an email server setup and then to walk them through how to edit alarms to send emails when triggered.

In this article, we will discuss how to configure vCenter Server to send alarm email notifications.

vcenter alert email notification

How to Configure vCenter Server to Send Alarm Email Notifications

Before vCenter can send emails, it requires mail server configuration, which is covered further in this chapter.

Step 1. Configure vCenter Mail Server

Releases prior to 6.5b sent e-mail alerts from root@VCSA_FQDN by default. The 6.5b patch now allows admins to change the vCenter mail sender address. You can use the SMTP agent included with vCenter Server to send email notifications when alarms are triggered.

✍ Please ensure that the vCenter Server SMTP agent is properly configured to send email notifications.

To configure vCenter Server to send alarm email notifications using Web Client:

1. Log into vSphere Client, and access to vCenter Server. Click the Configure tab.

2. Under Settings, select General. Then Click Edit.

configure vcenter email notification

3. Select Mail and enter the settings that vCenter Server uses to send email alerts.

4. In Mail server text box, enter the SMTP server information.

The SMTP server is the DNS name or IP address of the SMTP gateway to use for sending email messages.

  • For sending mails anonymously, you can enter any SMTP server information as the mail server name.
  • For SMTP authentication, you must enter the mail server name as smtp.office365.com, unless you have some customized configuration. Do not use IP address as mail server as IP address is not supported for SMTP authentication.

5. In Mail sender text box, enter the sender account information.

The sender account is the email address of the sender.

For SMTP authentication, you must enter a valid SMTP account name in the Mail sender text box.

✍ You must enter the full email address, including the domain name.

For example, mail_server@example.com

configure vcenter mail server

6. Click SAVE.

7. This step is applicable only for SMTP authentication.

You must configure the SMTP user settings as below:

  • Select the Configure tab.
  • Select Advanced Settings.
  • Click EDIT SETTINGS and enter the following values for the configuration parameters:

configure smtp user settings

  • Click SAVE.

Step 2. Configure vCenter to Send Email Alerts

Now, since the mail server has been configured and the mail flow works, notification email actions should be added to events that are important to know about.

1. On the Actions page of the alarm definition wizard, click Add to add an action.

2. In the Actions column, select Send a notification email from the drop-down menu.

3. In the Configuration column, enter recipient addresses. Use commas to separate multiple addresses.

4. (Optional) Configure alarm transitions and frequency.

configure alarm

Seamless VM Data Protection with Email Notification

vSphere enables administrators to conveniently manage virtualized servers and operating systems all from a single client. However, no one could avoid accident. Data protection has always been a hot topic since it is considered as the life of company.

AOMEI Cyber Backup is a comprehensive VM backup solution that can easily manage backups of virtual machines with one console and accommodate different virtual environment scales.

With its powerful features, it has gained a good reputation among customers. It supports not only VMware vSphere backups, but also Hyper-V backups.

Auto Backup: Automatically backup virtual machines on regular basis - daily, weekly, monthly.
Easy-to-use: Manage VM backup and recovery from central console without complicated reinstallation and complication.
Flexible Backup Strategy: Create full / incremental/ differential backups to protect data comprehensively and save storage.
Multiple Storage Destinations: Easily backup to local or network destinations.
Email notification: Send email notification when the task is completed or abnormal.

dashboard manage view

AOMEI Cyber Backup supports VMware ESXi 6.0 and later versions. You can click the following button to download the 30-day free trial.

Download Free TrialVMware ESXi & Hyper-V
Secure Download

*You can choose to install this VM backup software on either Windows or Linux system.

Steps to Backup VMware ESXi VMs and Set Email Notification

1. Bind Devices: Access to AOMEI Cyber Backup web client, navigate to Source Device > VMware > + Add VMware vCenter or Standalone ESXi host. And then click Bind Device.

bind device

2. Create Backup Task: Navigate to Backup Task > + Create New Task, and then select VMware ESXi Backup as the Device Type.

  • Task Name: you can change the task name or use the default name with an ordinal.
  • Device: batch select large numbers of VMs managed by vCenter Server for centralized backup.
  • Target: select to back up to a local path, or to a network path.
  • Schedule: choose to perform full, differential or incremental backup, and automate execution according to the frequency you specified.
  • Cleanup: automatically delete the old backup copies that exceed the retention period you specified.

schedule backup cleanup

3. Run Backup: Click Start Backup and select Add the schedule and start backup now, or Add the schedule only.

schedule vm backup

Summary

This article provides information on setting the mail server and configuring vCenter Server to send alarm email notifications. If you want to troubleshoot email alerts not being sent from vCenter Server, you could refer to VMware KB article at http://kb.vmware.com/kb/1004070.

Crystal
Crystal · Editor
Crystal is an editor from AOMEI Technology. She mainly writes articles about virtual machine. She is a positive young lady likes to share articles with peolpe. Off work she loves travelling and cooking which is wonderful for life.