Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

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

Excerpt

Screenshot: Infrastructure alarms

Image Removed

,

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

...

:

  1. Configure VM monitoring and metrics

  2. Go to Configuration view → General

  3. Set the option to Enable virtual machine monitoring by default.

Create an alarm

To create an alarm:

  1. Go to Infrastructure

...

Enter the alarm details. For more details see the Alarm table below 

...

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 alert for it in the Control view. You can create multiple alerts that include multiple alarms.

...

  1. Alarms

...

Entity type

...

Field

...

Description

  1. Select

...

  1. a physical machine

...

  1. , rack, or datacenter with custom metrics

...

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

...

Name

...

Name of the alarm with up to 128 characters. Alarm names must be unique for each metric

...

Description

...

  1. , or a VM from the hierarchy

  2. Click the + add button

  3. Enter the alarm details

    1. The Name must be unique and it can be up to 128 characters

    2. 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

...

Metric

    1. For the Metric select one of the available metrics. The platform fetches all metrics, even if you do not display them.

...

Metric unit

...

The unit of the metric. Read only

...

Metric description

...

The description of the metric. Read only

...

Dimension

...

    1. Optionally, select one or more Dimensions if the metric has multiple dimensions. For example, if a VM has multiple hard disks, then the

...

    1. disk read bytes

...

    1. metric may have a dimension for each disk.

    2. For Last datapoints in period

...

    1. , the default value is All data points and the minimum value of the time period is 1 minute

...

Statistic

...

Statistic that the platform will use for evaluating the alarm, which can be: average, maximum, minimum, sum, count, dev

...

Formula

...

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

...

Threshold

...

    1. . However, it is not useful to evaluate metrics more often than the server is obtaining them. We recommend a value of 60 minutes.

       Create an alarm from Infrastructure viewImage Added
  1. 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 alert for it in the Control view. You can create multiple alerts that include multiple alarms.

...

Edit 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. 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:

  1. Go to Virtual datacenters or Infrastructure →  Alarms

  2. Select the alarm and delete it by clicking on the trash bin delete button

To remove an alarm from an alert:

  1. Go to ControlAlerts → edit alert

  2. 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