Table of Content Zone | |
---|---|
|
Excerpt |
---|
Panel |
---|
Privilege: Access alarms section in virtual machines |
Users with the privilege to Access alerts can also open the Control tab in the Virtual machines page and view the alarms associated with an alert
This page describes how to create alarms on infrastructure metrics, including custom metrics from the API and built-in metrics on VMs deployed in the infrastructure,
To create alarms for virtual appliances and virtual datacenters, see Manage cloud alarms
You can display alarms in Infrastructure view on the Alarms tab.
...
To create custom metrics for infrastructure elements, including datacenters, racks, physical machines, and VMs, use the API. See Custom metrics resources
To automatically fetch metrics for all VMs:
Go to Configuration view → General
Set the option to Enable virtual machine monitoring by default.
Create an alarm
To create
...
Panel |
---|
Privilege: Access alarms section in virtual machines, Manage alarms |
Info |
---|
For a scaling group, an alarm in the base workload will receive input from the metrics of all machines in the scaling group. This means the base workload and/or the clone machines. So an alarm for a scaling group can activate, even if the base workload is not deployed. |
Before you begin:
- On the Monitoring tab, select the Retrieve metrics checkbox to enable monitoring and retrieve metrics
- Click Save
To create an alarm:
...
- Check that you are retrieving metrics
- If you are not retrieving metrics, you may create an alarm but it will not be triggered
...
an alarm:
Go to Infrastructure → Alarms
Select a physical machine, rack, or datacenter with custom metrics, or a VM from the hierarchy
Click the + add button
Enter the alarm details
The Name must be unique and it can be up to 128 characters
The platform will use the Description with the alarm name and if appropriate the VM name to identify the alarm, for example, when creating an alert
For the Metric select one of the available metrics. The platform fetches all metrics, even if you do not display them.
Optionally, select one or more Dimensions if the metric has multiple dimensions. For example, if a VM has multiple hard disks, then the
disk read bytes
metric may have a dimension for each disk.For Last datapoints in period, the default value is All data points and the minimum value of the time period is 1 minute. However, it is not useful to evaluate metrics more often than the server is obtaining them. We recommend a value of 60 minutes.
Click Save
The platform will create the alarm for the metric. If you would like the platform to notify you when
...
this alarm
...
activates, create an
...
Related topics
Manage Virtual Appliances
alert for it in the
...
Control view. You can create multiple alerts that include multiple alarms.
...
Edit an alarm
Modifying an alarm requires the same privileges as creating an alarm.
When you edit an alarm, you cannot modify the
...
metric or the entity.
When you edit an alarm, there is an extra field,
...
called 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.
...
Delete an alarm
You can delete any alarm at any time, even if it is part of one or more alerts.
...
Panel |
---|
Privilege: Access alarms section in virtual machines, Manage alarms |
...
The platform will not warn you that the alarm is used in an alert. However, you can check this
...
in Control view. After you delete an alarm, you cannot recover it.
You can also remove an alarm from an alert.
Panel |
---|
Privileges: Access alarms section, Manage alarms, Manage alerts |
To delete an alarm:
Go to Virtual datacenters or Infrastructure → Alarms
Select the alarm and delete it by clicking on the trash bin delete button
To remove an alarm from an alert:
Go to Control → Alerts → edit alert
Select the alarm, click the trash bin 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.
Related pages