Updated on 2025-08-15 GMT+08:00

Customizing System Alarms

In the Huawei Cloud Astro Zero environment configuration page, you can customize alarm templates based on service requirements. After an alarm template is created, the system records alarms based on the template content and sends alarm notifications based on the template.

Creating an Alarm Template

  1. Log in to the Huawei Cloud Astro Zero console and click Access Homepage. The application development page is displayed.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. Choose Monitoring from the main menu.
  4. In the navigation pane, choose Alarms > Alarm Templates.
  5. On the alarm template page, click Create.
  6. Set alarm template parameters and click Save.

    Table 1 Parameters of an alarm template

    Parameter

    Description

    Alarm Label

    Name of the alarm template.

    Value: 1–255 characters.

    Alarm Code

    Enter a 9-digit alarm code. In the same account, an alarm code corresponds to an alarm name. That is, an alarm code is unique, and an alarm name is unique. One alarm code corresponds to only one alarm name.

    Alarm Type

    Set the alarm type, such as operation alarm, service quality alarm, and communication alarm.

    Trigger

    Set alarm triggering conditions. Currently, alarms can be triggered only in the code.

    Clean Type

    The service code detects that a fault occurs. After the fault is rectified, you need to manually clear the alarm.

    Level

    Set the alarm severity, such as critical, major, minor, and warning.

    Reason

    Set the cause for reporting a user-defined alarm to facilitate future query and location.

    Suggestion

    You can set handling suggestions for alarm faults to help O&M personnel clear alarms.

    Comment

    Description of the template.

  7. (Optional) Delete an alarm template.

    After an alarm template is created, you can delete it. The alarm template with alarm records cannot be deleted or modified.

    1. In the alarm template list, click next to a template.
    2. In the displayed dialog box, select the message and click the confirm button.

      Deleted alarm templates cannot be recovered. Exercise caution when performing this operation.

Viewing Application Alarms

In alarm records, users can delete, accept, or clear alarm records. In the alarm record list, alarm records generated in a maximum of 15 days can be retained.

  1. Log in to the Huawei Cloud Astro Zero console and click Access Homepage. The application development page is displayed.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. Choose Monitoring from the main menu.
  4. In the navigation pane, choose Alarms > Application Alarms.
  5. In the alarm record list, select one or more alarm records.
  6. Click Accept or Clear to accept or clear the selected alarms.