You must configure an outgoing email server, so that vCloud Usage Meter can send emails. You can also configure the email alerts to receive monthly billing reports and alerts of failed and successful collections.
After you configure the email settings, vCloud Usage Meter alerts you of conditions that affect metering. By default, for vCenter Server, NSX, and vRealize Operations Manager, if the product is offline or unreachable for more than 720 collections (30 days), vCloud Usage Meter deactivates the product and stops collecting product consumption data for that product. You can reconfigure the default number of unsuccessful collections by running the
configureDisableProductPeriod.sh script located in /opt/vmware/cloudusagemetering/scripts/. Use a positive integer as the input parameter.
When a vCenter Server is deactivated, vRealize Operations Manager is also deactivated without any email alert. Other related products such as NSX are not automatically deactivated.
After a product is disabled because of unsuccessful collections, vCloud Usage Meter attempts to reconnect to the product every 24 hours. If the issue preventing the connection is resolved, vCloud Usage Meter connects to the product and resumes collecting consumption data. vCloud Usage Meter notifies you if the collections for the product are resumed or the connection to the product is still not possible.
For vSAN, after the connectivity to the vCenter Server using vSAN is restored, vCloud Usage Meter resumes collecting consumption data with the first successful collection.
For Site Recovery Manager, after the connectivity to the vCenter Server using Site Recovery Manager is restored, you must manually recreate the recovery or protected site pairing. For more information, see Add vCenter Server.
If you do not configure email alerts, all email notifications are sent to the provider email address that you specified when configuring the service provider details. For more information, see Configure Service Provider Details.
No email notifications are sent for products that you disabled manually by using the vCloud Usage Meter Web application.
For vCloud Director, if an issue prevents vCloud Usage Meter from collecting consumption data for a product for more than 24 hours, vCloud Usage Meter disables the product and stops collecting consumption data permanently. To continue collecting consumption data for deactivated vCloud Director instances, navigate to the page of the Web application and click Activate next to the affected vCloud Director. The vCloud Usage Meter operator is responsible to act upon any issues affecting metering, such as network connectivity issues and credential updates of connected systems.
- Make sure that your mail server can relay messages from the service provider email address, using either authenticated or unauthenticated SMTP.
Note: vCloud Usage Meter uses this email address as the From address for sending emails to VMware.
- If your mail server requires authentication, use encryption to avoid sending sensitive data in a plain text format.
- Verify the SMTP port number that is assigned to your mail server.
It is a best practice to configure email alerts, so that you are informed of any issues affecting the accurate metering.