A complete and updated list of ready to use functions curated by the VMware Event Broker community is listed below.
These functions are prebuilt, available in ready to deploy container and
stack.yml files for you to deploy as is. Should you need to modify the functions to fit your needs, the
README.md files provided within each function folder will provide all the information you need to customize, build and deploy the function on your VMware Event Broker appliance.
Note: These functions are provided and tested to be used with the VMware Event Broker Appliance deployed with OpenFaaS as the event stream processor.
Many configurations such as enabling memory/cpu hot add, changing the number of CPUs, or changing amount of memory can be set only when a VM is powered off (if the hot plug/hot add settings are not yet enabled). Attach tags containing desired configuration settings to a VM and have it automatically reconfigure the next time it powers down.
Automatically tag a VM upon a vCenter event (ex. a VM can be tagged during a poweron event).
Notify a Slack channel upon a VM configuration change event.
Disable alarm actions on a host when it has entered maintenance mode and will re-enable alarm actions on a host after it has exited maintenance mode.
Remediation function which will be triggered when a VM is powered on to ensure that the Maximum Transmission Unit (MTU) of the VM Kernel Adapter on all ESX hosts is at least 1500.
Send an email notification when warning/error threshold is reach for Datastore Usage Alarm in vSphere.
Trigger vRealize Orchestrator workflow using vRO REST API.
Function helps users understand the structure and data of a given vCenter Event which will be useful when creating brand new Functions.
Trigger a PagerDuty incident upon a vCenter Event.
Function allows making a single post api request to any endpoint - tested with Slack, ServiceNow and PagerDuty.
Send an email listing all of the VMs which were restarted due to a host failure in an HA enabled cluster.
Send Slack message when a VMware Cloud on AWS SDDC is Provisioned or Deleted.
Send Microsoft Team message when a VMware Cloud on AWS SDDC is Provisioned or Deleted.
Function to limit the scope of other functions by allowing filtering of events by vCenter Inventory paths using standard regex.
Plugin auto-refresh function triggers automatic refresh of the UI of a vSphere Client plugin after data changes.
Veeam-vm-backup function uses 3rd party solution Veeam to provide automatic backup for any virtual machine when when the VM state changes.
These functions serve as an easy way to use the appliance and as an inspiration for how to write functions in different languages. If you have an idea for a function and are looking to write your own, start with our documentation here.