Sync Huawei Cloud Log Tank Service (LTS) alert events to Flashduty via webhook for automated alert noise reduction.
In Flashduty
You can obtain an integration push URL through either of these two methods:
Using Private Integration
Choose this simpler option when you don't need to route alert events to different channels.
Expand
- Go to the Flashduty console, select Channel, and enter a channel's details page
- Select the Integrations tab, click Add Integration to enter the integration page
- Choose Huawei Cloud LTS integration and click Save to generate a card
- Click the generated card to view the push URL, copy it for later use, and you're Done
Using Shared Integration
Choose this option when you need to route alerts to different channels based on the alert event's payload information.
Expand
- Go to the Flashduty console, select Integration Center=>Alert Events to enter the integration selection page
- Select Huawei Cloud LTS integration:
- Integration Name: Define a name for this integration
- Configure the default route and select the corresponding channel (after the integration is created, you can go to
Route
to configure more routing rules)
- Click Save and copy the newly generated push URL for later use
- Done
In Huawei Cloud
I. Huawei Cloud LTS Alert Push Configuration
Step 1: Create FlashDuty Alert Channel
- Log in to your Huawei Cloud Console, search for
SMN
(Simple Message Notification) service and enter its console
- Select
Topic Management=>Topics
from the left navigation bar
- Click
Create Topic
, enter FlashDuty
as the topic name in the edit page and confirm
- Return to the topic list and click
Add Subscription
in the newly created FlashDuty topic
- In the edit page, select
HTTPS
as the protocol, enter the push URL as the subscription endpoint and confirm
- After adding, check if the subscription status shows Confirmed in the subscription list
- Log in to your Huawei Cloud Console, search for
LTS
(Log Tank Service) and enter its console
- Select
Log Alert=>Alert Action Rules=>Message Templates
from the left navigation bar and click Create
- In the template edit page, enter FlashDuty as the name, select
English
as the message header language
- Select
HTTP/HTTPS
as notification type and JSON
as data type
- Click
Confirm
to save
- Return to the
Alert Action Rules
list and click Create
- Enter FlashDuty as the rule name, select the previously created FlashDuty topic and template
Step 3: Use the Action Rule Created in Step 2 in Alert Rules
- Return to the
Alert Rules
list
- Create or edit existing alert rules
- Other configurations are omitted here
- In
Advanced Settings
, check both Alert Trigger
and Alert Recovery
in notification scenarios
- Enable action rules and select the FlashDuty rule created in
Step 2
- Select
English
as language, click Confirm
to save after configuration is complete
II. Status Mapping
LTS | Flashduty | Status |
---|
Critical | Critical | Critical |
Major | Warning | Warning |
Minor | Info | Info |
Info | Info | Info |