![]() If you have issues, troubleshoot the VMware event router logs and the email function logs as show in the troubleshooting section Part VIII . If you don’t see the emails, check your spam folder – you may have to whitelist the emails depending on your spam settings. Select Virtual Machine, because this alarm will apply to all the VMs in the infrastructure. As you can see there are plenty of monitors now in the list. Give the alarm a name then select what to monitor. If everything worked, you should have 2 emails in your inbox – a warning email, and back to normal email. Right-click on the white space and choose New Alarm, or right-click the vCenter server and choose Alarm > Add Alarm. Now we perform the same Edit operation and set the warning percentage back to 70%. 4 Select Assign a new license key and click Enter Key. 3 Right-click an asset and select Change license key. 2 In the Management tab, select Asset as a primary entity for sorting the license information. Then I hit next to the end of the config wizard. 1 In the vSphere Client, select Home > Administration > Licensing. We change the warning level very low, here I change it to 7% to force an alarm. We need to find the default Datastore Usage on Disk alarm and edit it They can be set up on any SCSI-based storage device that the ESXi host discovers. Here’s how I changed it to get it work using VMware’s SMTP relay to deliver to my corp email address.Ĭreate the secret and push the function with faas-cliįaas-cli secret create vc-hostmaint-config –from-file=vc-hostmaint-config.json –tls-no-verify VMFS datastores are used as repositories for virtual machines files. You can change the SMTP_PORT to 25 and leave SMTP_USERNAME and SMTP_PASSWORD blank to use standard SMTP. ![]() However, many customers run SMTP relays either on-prem or up in VMC for various email related needs. The default configuration is set to work with GMail authenticated SMTP. VMware will file a ticket with AWS support and you will be unthrottled. You can simply pop open the chat window in the VMC console and request the change. AWS by default throttles emails sent out of all their VPCs. NOTE: If you send a large volume of emails from VMC, you need to open a ticket with VMware support to unthrottle SMTP on the shadow VPC that contains your SDDC. ![]() We find the code in examples/powercli/datastore-usage-email Here I am just going to show the config files and config changes necessary. If you don’t already know how to clone a repository with git and how to work with OpenFaaS, check out Part VII. I wrote extensive documentation on deploying a PowerShell script into VEBA in Part VII. The sample script is written in PowerShell/PowerCLI. It is not possible to configure email alarms in VMC on AWS because the customer is locked out of that configuration area in vCenter. VMware vSphere 6. Although the functionality is built into on-prem vCenter, you have very little control over the email content. At the high level, VMware vSphere will access each storage using datastoresa logical paradigm to abstract all storage types, like a common operating system uses letters or mount points to access a filesystem. There is a new VEBA sample script in 0.3 that enables you to send emails based on a datastore alarm. In this post we will deploy a new sample script. In Part VIII, we discussed basic troubleshooting techniques for VEBA.
0 Comments
Leave a Reply. |