This topic describes how to integrate Open-Falcon with Alert Management.
Step 1: Create an Open-Falcon integration
Step 2: Configure an Open-Falcon alert template
- Log on to the Open-Falcon homepage.
- In the top navigation bar, click Templates.
- In the upper-right corner of the Templates page, enter the name of the new alert template and click the + icon.
- On the Configure Template page, create an alert rule in the Policies in the Template section. For more information, see Open-Falcon documentation.
- Set Callback Address to the integration address obtained in Step 1, and then click Save.
(Optional) Step 3: Modify the integration
Alert Management provides field mappings between Open-Falcon alert sources and ARMS alert events. You can also add or modify the mappings between fields on the Edit Integration page.
{
"name":"cpu alert",
"endpoint":"test-host",
"metric":"cpu.user",
"status":"PROBLEM",
"step":"1",
"priority":2,
"time":"2021-09-08 09:25:00",
"tpl_id":1,
"exp_id":2,
"stra_id":1,
"tags":""
}
View the details about an alert event
- In the left-side navigation pane of the ARMS console, choose .
- On the Alert Event History page, click the name of the alert event to view the event details. For more information, see View historical alert events.
Manage the integration
In the left-side navigation pane, choose Alert Integration tab, you can perform the following operations on the integrations that you created:
. On the- View the details of an integration: Find the integration and then click the row. On the Integration Details page, view the integration details.
- Update a key: Find the Grafana integration and then choose Actions column. In the message that appears, click OK.
Important After you update the key, modify the callback address of the alert template. For more information, see Step 2: Configure an Open-Falcon alert template.
in the
- Modify an integration: Find the integration and then click Edit in the Actions column. On the Integration Details page, modify the integration information and then click Save.
- Enable or disable an integration: Find the integration and then click Disable or Enable in the Actions column.
- Delete an integration: Find the integration and then click Delete in the Actions column. In the message that appears, click OK.
- Add an event processing flow to an integration: Find the integration and click Add Event Processing Flow in the Actions column. For more information, see Work with event processing flows.
- Create a notification policy: Find the integration for which you want to create a notification policy, and click More in the Actions column. In the list that appears, click Create Notification Policy. For more information, see Create and manage a notification policy.
What to do next
After you create a notification policy, the system generates alerts and sends alert notifications for reported alert events based on the notification policy that you created. For more information, see Create and manage a notification policy. On the Alert Sending History page, you can view the alerts that are generated based on the configured notification policy. For more information, see View historical alerts.