

For our purposes the critical condition is irrelevant as I plan on having it act upon the warning condition, which will prevent the critical from ever occurring.
#Vmware warning datastore usage on disk free#
I am choosing the warning condition to be 75% full, feel free to choose your own. Keep the “Trigger if” to the default of “All”.
#Vmware warning datastore usage on disk plus#
Click the green plus sign, and choose “Datastore Disk Usage”, it will likely be the default choice. Choose “Datastores” and “specific condition…”. Enabling the alarm will enable it for all of the objects in that folder. This is important, because the alarm name will be used in vRO to help identify the SNMP trap. Move the datastores you want to have this into that folder. So a better option is to create a datastore folder and assign it on the folder. So you can apply it at an individual datastore level, but that means you need to create a new alarm for every datastore you want this feature for.

I don’t want all of my datastores to be resized automatically and in fact many cannot, like my local datastores. There are a variety of places to do this. So now, let’s create a datastore alarm for capacity alerts. Choose a community name and remember this, I went with the basic “public”.īy the way, there is a blog post here from VMware that shows this and the next few steps, it is 5 years old, but mostly still accurate. Might as well stick with this one unless you need to change for whatever reason. You can use other ports, but you need to change some defaults in vRO. Enable the receiver and enter a port of 4000. Add an entry for your vRealize Orchestrator instance (your vRO IP or FQDN). Click “Edit” and then configure the “SNMP Receivers”. Choose “Manage” then “Settings” then “General”. Go to your vCenter and click on the vCenter object you want in your inventory. Let’s look at it via vCenter SNMP alerts and vRealize Orchestrator workflows. What if I want to automate the process to respond to datastore capacity threshold limits? There are a variety of ways to achieve this. Expanding a storage volume these days is easy. Because of the performance of flash, merged with ESXi features like VAAI ATS. So increasing a datastore capacity is also an increasingly common operation. Virtual disk oversubscription is becoming increasingly common and so is allowing people to provision their own VMs.
