Help Center> Cloud Eye> User Guide> Alarm Management> Alarm Templates> Associating a Custom Template with a Resource Group
Updated on 2024-01-12 GMT+08:00

Associating a Custom Template with a Resource Group

By associating a custom template with a resource group, you can create alarm rules for different resources in batches. After the template is associated with the resource group, alarm rules for resources in this group will be generated. Alarm policies will be modified together with the template.

Procedure

  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. Click the Custom Template tab.
  5. Locate the target template and click Associate with Resource Group in the Operation column.
  6. In the displayed Associate with Resource Group dialog box, select a resource group.
    Figure 1 Associate with Resource Group
  7. Configure the alarm notification.
    Figure 2 Alarm Notification parameters
    Table 1 Alarm Notification parameters

    Parameter

    Description

    Alarm Notification

    Specifies whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.

    Notification Recipient

    Specifies the way to send alarm notifications. You can select Notification group or Topic subscription.

    Notification Group

    Specifies the notification group to which alarm notifications will be sent. This parameter is available when you select Notification group for Notification Recipient.

    Notification Object

    Specifies the object to which alarm notifications will be sent.. You can select the account contact or a topic name.

    • Account contact is the phone number and email address of the registered account.
    • Topic: A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one first and add subscriptions to it. For details, see Creating a Topic and Adding Subscriptions.

    Notification Template

    Specifies the SMS, email, or HTTP/HTTPS notification templates for sending alarm notifications. You can select a system template or customize a notification template.

    Notification Window

    Cloud Eye sends notifications only within the notification window you specified.

    If Notification Window is set to 08:00-20:00, Cloud Eye sends notifications only within 08:00–20:00.

    Trigger Condition

    Specifies the condition for triggering the alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.

    Alarm notifications sent by SMN will be billed. For details, see Product Pricing Details.

  8. Configure the enterprise project as prompted.
    Figure 3 Advanced Settings
    Table 2 Parameter of Advanced Settings

    Parameter

    Description

    Enterprise Project

    Specifies the enterprise project that the alarm template belongs to. Only users who have all permissions for the enterprise project can manage the alarm template. For details about how to create an enterprise project, see Creating an Enterprise Project.

  9. Click OK.