OsburnM
Hot Shot
Hot Shot

Alert when no Datastores in DSCluster have at-least 200GB freespace?

Jump to solution

Greetings all-- 

I'm looking for a way to build an alert on a datastore cluster object that will fire when NONE of the datastores in the cluster have at-least 200GB freespace.  Anyone know if this is possible?  Supermetric?

 

Thanks!

0 Kudos
1 Solution

Accepted Solutions
lannguyen
VMware Employee
VMware Employee

Yes here are the steps

1. Create a new alert definition and select Datastore cluster as your object

2. Change Defined On to child and then select datastore (see screenshot highlighted in red)

3. Create a new symptom for datastore less than 200GB free space

4. Attach it alert and change it to Any(see screenshot highlighted in red)

5. Make sure to go to step 4 and activate it on all active policies.

6. Save the alert

 

 

 

lannguyen_0-1626259488141.png

 

Personal blog VMignite.com

View solution in original post

3 Replies
lannguyen
VMware Employee
VMware Employee

Yes here are the steps

1. Create a new alert definition and select Datastore cluster as your object

2. Change Defined On to child and then select datastore (see screenshot highlighted in red)

3. Create a new symptom for datastore less than 200GB free space

4. Attach it alert and change it to Any(see screenshot highlighted in red)

5. Make sure to go to step 4 and activate it on all active policies.

6. Save the alert

 

 

 

lannguyen_0-1626259488141.png

 

Personal blog VMignite.com

View solution in original post

OsburnM
Hot Shot
Hot Shot

This alert is exactly what I was looking for, thank you!

That said, in addition to the alert, I figured out how to create the supermetric that'll let me build a View>Dashboard with a filter on the view.

Supermetric:  Highest Datastore Freespace in Datastore Cluster

max(${adaptertype=VMWARE, objecttype=Datastore, metric=OnlineCapacityAnalytics|diskspace|total|capacityRemaining, depth=2})

Assign it to Object Type 'Datastore Cluster'

Now, just create a List View showing Datastore Clusters, include the new Supermetric, then add a Filter to the view where the highest value is less than 200 GB.

Works great and  now along with the alert, can also dashboard it.  

lannguyen
VMware Employee
VMware Employee

Nice!  You have advance vROPS Skills

Personal blog VMignite.com
0 Kudos