If you would like the platform to notify you when an alarm activates, create an Alert for it in Control view. Alerts are a group of one or more alarms. They are like a worker monitoring a group of alarms; when all the lights for the group are lit up, the alert is activated. Alerts can also trigger action plans to perform automated actions when their alarms activate. After you create an alert, create an action plan in Control view with the alert as a trigger.
In Infrastructure view you can create alarms for custom metrics on infrastructure elements. You can also create alarms for built-in metrics for deployed VMs that you can access through the infrastructure path of their providers.
Screenshot: Infrastructure alarms
To create custom metrics for infrastructure elements, including datacenters, racks, physical machines, and VMs, use the API. To automatically fetch metrics for all VMs, after you configure and enable monitoring for the platform, in Configuration view, set the option to Enable virtual machine monitoring by default.
To create an alarm:
|Entity type||Select an entity with metrics from the list on the left. For infrastructure it can be a physical machine, VM, rack, or datacenter with custom metrics created using the API.|
|Entity name||The name of the entity|
|Entity label||The label of the entity, which for VMs only is shown in the list on the left|
|Entity icon||The icon that the platform displays in the UI for VMs and virtual appliances only|
Name of the alarm with up to 128 characters. Alarm names must be unique for each metric
|Description||Description of the alarm. Used together with the alarm name and VM name to identify the alarm, for example, when creating an alert|
|Metric||The platform fetches all metrics, even if you do not display them. Select one of the metrics available for the VM|
|Metric unit||The unit of the metric. Read only|
|Metric description||The description of the metric. Read only|
|Dimension||When the metric has multiple dimensions, optionally select one or more dimensions. For example, if a VM has multiple hard disks, then the "disk read bytes" metric may have a dimension for each disk|
Last datapoints in period
The number of datapoints that the platform will evaluate the metric during the elapsed time. The default value is All data points and the minimum value of the time period is 1 minute
Statistic that the platform will use for evaluating the alarm, which can be: average, maximum, minimum, sum, count, dev
Operator that the platform will use for evaluation of the alarm, for example, greater than. Values can be: notequal, greaterthan, greaterthanorequalto, lessthan, lessthanorequalto, trendup, trenddown
Value that the platform will evaluate the alarm against, if appropriate
The platform will create the alarm for the metric. If you would like the platform to notify you when this alarm activates, create an alert for it in the Control view. You can create multiple alerts that include multiple alarms.
To create alarms for virtual appliances and virtual datacenters go to Virtual datacenters → Alarms. See Manage cloud alarms
When you edit an alarm, there is an extra field, "Active", that shows if the alarm is activated or not.
After you save the alarm, the platform will start to evaluate it again with new data when it receives the next set of metrics datapoints.
You can also remove an alarm from an alert.
To delete an alarm:
To remove an alarm from an alert:
Go to Control → Alerts → edit alert
Select the alarm, click the delete button, and confirm
The platform will remove it from this alert, but it will remain in all other alerts that it is associated with
If you delete a VM, the platform will delete any alarms associated with its metrics.