{ "alert_lag": 180, "alert_period": "5", "base_search": "| mstats avg(vsphere.datastore.freespace) as freespace, avg(vsphere.datastore.capacity) as capacity, avg(vsphere.datastore.uncommitted) as uncommitted avg(vsphere.datastore.used_percent) as used_percent WHERE `cp_vmware_perf_metrics_index` by moid,vcenter span=1m \n| eval itsi_entity_id = moid.\"_\".vcenter \n| fields - moid vcenter \n| eval provisioned = (capacity-freespace+if(isnotnull(uncommitted),uncommitted,0)) \n| eval overprovisioned_pct = (provisioned/capacity-1)*100 \n| eval free_gb=round(freespace/1024/1024/1024,2)", "description": "", "entity_filter_field": "itsi_entity_id", "entity_split_field": "itsi_entity_id", "is_filter_entities_to_service": true, "is_split_by_entity": true, "key": "da-itsi-cp-vmware-vmware-vmware-datastores-capacity", "metric_qualifier": "", "metrics": [ { "aggregate_statop": "max", "entity_statop": "latest", "fill_gaps": "null_value", "gap_custom_alert_value": "0", "gap_severity": "unknown", "gap_severity_color": "#CCCCCC", "gap_severity_color_light": "#EEEEEE", "gap_severity_value": "-1", "key": "gb-free", "threshold_field": "free_gb", "title": "GB Free", "unit": "GB" }, { "aggregate_statop": "max", "entity_statop": "latest", "fill_gaps": "null_value", "gap_custom_alert_value": "0", "gap_severity": "unknown", "gap_severity_color": "#CCCCCC", "gap_severity_color_light": "#EEEEEE", "gap_severity_value": "-1", "key": "overprovisioned-percent", "threshold_field": "overprovisioned_pct", "title": "Overprovisioned Percent", "unit": "%" }, { "aggregate_statop": "max", "entity_statop": "latest", "fill_gaps": "null_value", "gap_custom_alert_value": "0", "gap_severity": "unknown", "gap_severity_color": "#CCCCCC", "gap_severity_color_light": "#EEEEEE", "gap_severity_value": "-1", "key": "used-percent", "threshold_field": "used_percent", "title": "Used Percent", "unit": "%" } ], "search_alert_earliest": "15", "title": "VMWARE: VMware Datastores Capacity", "version": "0.0.38" }