:original_name: cc_03_0886.html

.. _cc_03_0886:

Creating an Alarm Rule
======================

Scenarios
---------

This section describes how to create alarm rules and notifications for enterprise router attachments.

The alarm function provides the alarm service for monitoring data. By creating alarm rules, you define how the alarm system checks monitoring data and sends alarm notifications when monitoring data meets alarm policies.

After creating alarm rules for important metrics, you can timely know metric data exceptions and quickly rectify the faults.

Procedure
---------

#. Log in to the management console.

#. Click |image1| in the upper left corner and select the desired region and project.

#. Click **Service List**. Under **Management & Deployment**, click **Cloud Eye**.

   The **Cloud Eye** console is displayed.

#. In the navigation pane on the left, choose **Cloud Service Monitoring** > **Enterprise Router**.

   The enterprise router list is displayed.

#. Create an alarm rule and notification for an enterprise router attachment.

   a. In the enterprise router list, locate the enterprise router, click |image2| to view its attachments, locate the attachment, and click **Create Alarm Rule** in the **Operation** column.

      The **Create Alarm Rule** page is displayed.

   b. On the **Create Alarm Rule** page, configure the parameters as prompted.

   .. note::

      For details about the parameters on the **Create Alarm Rule** page, see the Cloud Eye User Guide.

#. Click **Create**.

   .. note::

      After the alarm rule is configured, if you have enabled alarm notifications and configured related parameters, you will receive notifications once an alarm is triggered.

.. |image1| image:: /_static/images/en-us_image_0000001190483836.png
.. |image2| image:: /_static/images/en-us_image_0000002082224192.png
