Datastores is an importent objects in every VMware environtment. Especially free space of Datastore. So I think we need collect information about free space and we want to get alert message when the free space is low or it is getting low on DS.
Fortunetly VMware vROps has a built-in alert message about this topic. Name of this alert is “Datastore is running out of disk space” wich alert send to Us e-mail when “Datastore space usage reaching “ALERT LEVEL” limit” (85/90/95%) and “Datastore space time remaining is low” symptom definitions meet the values.
As you remember in vROps Alerts is working different way as other monitoring tools (as I know, like Nagios).
vROps collect metrics from environment, in this case from Datastore through vCenter Server. We can create Symptome Definitions (Alert / Alert Settings / Symptom Definitions/Add (green cross)) from Metrics or Properties.
Alerts consists of symptoms. If symptoms reaching the level wich was seted up and match all conditions (Any / All logical separation) we have got Alert from vROps.
More informations about vROps Alerts:
Jump back to subject of this blog article. My problem was with default DS alert that we should have leave huge free spaces on big datastores becouse of this symptoms is watching free space in precent. Eg. I got alert from 8TB datastore despite of I had 700GB free space on this DS.
I created new symptom definitions:
Base Object Type: vCenter Adapter / Datastore
Metrics: Capacity / Available Space (GB)
|Datastore Available Space reaching Warning limit||Warning||is less than or equel to||150|
|Datastore Available Space reaching Immediate limit||Immediate||is less than or equel to||100|
|Datastore Available Space reaching Critical limit||Critical||is less than or equel to||50|
After I added this tree symptoms to “Datastore is running out of disk space” alert as new Self-Datastore objects by “Any” condition.
This alert mean: The DataStore free space is lower than 85% or 90% or 95% and 150GB or 100GB ot 50GB and Disk space time remaining <= 60 days we are going to get an Alert message from vROps.
If you have any qestion pls. leave a comment!