Updated on 2024-09-06 GMT+08:00

Alarm Tags and Annotations

When creating alarm rules, you can set alarm tags and annotations. Tags are attributes that can be used to identify alarms. They are applied to alarm noise reduction scenarios. Annotations are attributes that cannot be used to identify alarms. They are applied to scenarios such as alarm notification and message templates.

Alarm Tag Description

  • Alarm tags can apply to grouping rules, suppression rules, and silence rules. The alarm management system manages alarms and notifications based on the tags.
  • Each tag is in "key:value" format and can be customized. Each key and value can contain only letters, digits, and underscores (_).
  • If you set a tag when creating an alarm rule, the tag is automatically added as an alarm attribute when an alarm is triggered.
  • In a message template, the $event.metadata.key1 variable specifies a tag. For details, see Table 2.

If tag policies related to AOM have already been set, add alarm tags based on these policies. If a tag does not comply with the policies, tag addition may fail. Contact your organization administrator to learn more about tag policies.

Alarm Annotation Description

  • Annotations are attributes that cannot be used to identify alarms. They are applied to scenarios such as alarm notification and message templates.
  • Each annotation is in "key:value" format and can be customized. You can create up to 10 custom annotations. The key and value can only contain letters, digits, and underscores (_).
  • In a message template, the $event.annotations.key2 variable specifies an annotation. For details, see Table 2.

Managing Alarm Tags and Annotations

You can add, delete, modify, and query alarm tags or annotations on the alarm rule page.

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Alarm Management > Alarm Rules.
  3. Click Create, or locate a desired alarm rule and click in the Operation column.
  4. On the displayed page, click Advanced Settings.
  5. Under Alarm Tag or Alarm Annotation, click and enter a key and value.
  6. Click OK to add an alarm tag or annotation.

    • Adding multiple alarm tags or annotations: Click multiple times to add alarm tags or annotations (max.: 10).
    • Modifying an alarm tag or annotation: Move the cursor to a desired alarm tag or annotation and click to modify them.
    • Deleting an alarm tag or annotation: Move the cursor to a desired alarm tag or annotation and click to delete them.