Help Center> Cloud Eye> User Guide> Alarm Management> Alarm Templates> Creating a Custom Template or Custom Event Template
Updated on 2024-03-15 GMT+08:00

Creating a Custom Template or Custom Event Template

  1. Log in to the management console.
  2. Click Service List in the upper left corner, and select Cloud Eye.
  3. In the navigation pane on the left, choose Alarm Management > Alarm Templates.
  4. On the Alarm Templates page, click Create Custom Template.
  5. On the Create Custom Template page, configure parameters by referring to Table 1.
    Figure 1 Create Custom Template
    Table 1 Parameters

    Parameter

    Description

    Name

    Specifies the custom template name. The system generates a random name, which you can modify.

    Example value: alarmTemplate-c6ft

    Description

    (Optional) Provides supplementary information about the custom template.

    Alarm Type

    Specifies the alarm type to which the alarm template applies. The value can be Metric or Event.

    Event Type

    Specifies the event type when you set Alarm Type to Event. The default value is System Event.

    Method

    You can select Use existing template or Configure manually.

    • Use existing template: Select an existing template and use or modify default alarm rules in the template.
    • Configure manually: You can customize alarm policies as required.

    Add Resource Type

    Specifies the type of the resource the alarm template is created for.

    Example value: Elastic Cloud Server

    Alarm Policy

    Specifies the policy for triggering an alarm.

    • When you set Alarm Type to Metric, whether to trigger an alarm depends on whether the data in consecutive periods reaches the threshold. For example, Cloud Eye triggers an alarm if the average CPU usage of the monitored object is 80% or more for three consecutive 5-minute periods.
    • If you set Alarm Type to Event and specify an event (such as improper ECS running), Cloud Eye triggers an alarm as long as the event occurs. For details, see Alarm Policies.
    NOTE:

    Up to 50 alarm policies can be added to an alarm rule. If any one of these alarm policies is met, an alarm is triggered.

    Alarm Severity

    Specifies the alarm severity, which can be Critical, Major, Minor, or Informational.

    Operation

    You can copy or delete an added alarm policy.

  6. Click Create.