Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com> Co-authored-by: liusiying77 <liusiying@huawei.com> Co-committed-by: liusiying77 <liusiying@huawei.com>
28 KiB
Configuring an Alarm Template
APM allows you to configure alarm templates. You can create multiple alarm policies under a template and bind them to nodes.
Procedure
- Log in to the management console.
- Click
on the left and choose Application > Application Performance Management.
- In the navigation pane, choose Application Monitoring > Metrics.
- In the tree on the left, click an application. The metric details page of the application is displayed.
- Click the Alarm Templates tab.
- Click Add Template to add an alarm template as prompted.
- Enter basic information and then click Next.
Template Name: Enter up to 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.
Remarks: Enter up to 512 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.
- Click Add Alarm Policy to add an alarm policy.
- Basic information
Table 1 Basic information about an alarm policy Parameter
Description
Policy Name
Custom name, which cannot be left blank.
Only letters, digits, underscores (_), and hyphens (-) are allowed. Enter up to 512 characters.
Alarm Severity
Severity of an alarm. Options: COMMON and CRITICAL.
Alarm Policy Type
Options: Single-node and Aggregate. Single-node indicates single-instance metric alarms, and Aggregate indicates aggregated metric alarms of all instances under a component.
Monitoring Item
Select a target monitoring item. The information about the selected item is displayed on the right.
Metric Set
Select a target metric set. The information about the selected metric set is displayed on the right.
- Alarm rule
- Notification object
Table 3 Alarm notification parameters Parameter
Description
Use default settings
- If this option is enabled, alarms will be sent to one or more default notification objects. For details about how to set notification objects, see Alarm Notification.
- After this option is enabled, you can no longer select notification objects from the Notification Object drop-down list.
- If all the values in the Default column of the Notifications page are No, no default notification objects have been set. In this case, the Use default settings option on the alarm policy creation page is dimmed and cannot be enabled.
Notification Object
Select a notification object from the drop-down list.
Alarms will only be sent to the selected notification objects.
- Basic information
- Click Yes.
- Click Next. The Bind Node page is displayed.
- Click Bind Node to bind nodes by environment, environment tag, or region.
Table 4 Node parameters Parameter
Description
All
All nodes (including those added subsequently) in all regions will be bound.
Environment
All nodes in the selected environment will be bound.
Environment Tag
All nodes with the same tag will be bound.
Region
All nodes in the selected region will be bound.
- Enter basic information and then click Next.
- Click Yes. The information about the bound nodes is displayed in the lower part of the page, including the environment, tag, and region names.
- Click Complete.
More Operations
After the alarm template is created, perform the operations listed in Table 5 if needed.