> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flashduty.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Huawei Cloud CES Integration

> Sync Huawei Cloud CES alerts to Flashduty via webhook to achieve automated alert noise reduction

Sync Huawei Cloud CES alerts to Flashduty via webhook to achieve automated alert noise reduction.

<div class="hide">
  ## In Flashduty

  ***

  You can obtain an integration push URL through either of these two methods:

  ### Using Private Integration

  Choose this method when you don't need to route alerts to different channels. It's simpler.

  <details>
    <summary>Expand</summary>

    1. Go to the Flashduty console, select **Channel**, and enter a channel's details page
    2. Select the **Integrations** tab, click **Add Integration** to enter the integration page
    3. Choose **Huawei Cloud CES** integration and click **Save** to generate a card
    4. Click the generated card to view the **push URL**, copy it for later use, and you're done
  </details>

  ### Using Shared Integration

  Choose this method when you need to route alerts to different channels based on the alert payload information.

  <details>
    <summary>Expand</summary>

    1. Go to the Flashduty console, select **Integration Center=>Alerts** to enter the integration selection page
    2. Select **Huawei Cloud CES** integration:
       * **Integration Name**: Define a name for this integration
    3. Configure the default route and select the corresponding channel (after the integration is created, you can go to `Route` to configure more routing rules)
    4. Click **Save** and copy the newly generated **push URL** for later use
    5. Done
  </details>
</div>

## In Huawei Cloud CES

***

<div class="md-block">
  1. Log in to your Huawei Cloud console, search for `Cloud Eye Service` product, and enter its console
  2. Go to `Alarm-Alarm Notifications-Notification Objects` page, click `Create Notification Object` button
  3. Select `HTTPS` as protocol, enter `flashduty` as name, and fill in the integration URL (enter integration name on current page, URL will be generated after saving)
  4. Click `OK` button to complete notification object creation

  <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/hw-1.png" alt="drawing" width="500" />

  5. Go to `Alarm-Alarm Notifications-Notification Groups` page, click `Create Notification Group` button
  6. Enter `Flashduty` as group name, check the `flashduty` notification object created earlier
  7. Click `OK` button to complete notification group creation

  <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/hw-2.png" alt="drawing" width="500" />

  Note: When creating a notification group, Huawei Cloud will send a request to Flashduty to verify the push URL. Check the notification group's object list - alerts will only be pushed normally when the notification object status is `Confirmed`

  8. Go to `Alarm-Alarm Rules` page, edit existing alarm rules or create new ones to open the `Alarm Rule Details` page
  9. Select `Flashduty` as the notification group, check both `Alarm Triggered` and `Cleared` conditions. Click `OK` button to save changes

  <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/hw-3.png" alt="drawing" width="500" />

  10. Return to Flashduty console's integration list page. If the latest event time is displayed, the configuration is successful and events are being received
  11. Done
</div>

## Status Mapping

***

<div class="md-block">
  Huawei Cloud CES to Flashduty alert severity mapping:

  | CES      | Flashduty | Status   |
  | -------- | --------- | -------- |
  | Critical | Critical  | critical |
  | Major    | Critical  | critical |
  | Minor    | Warning   | warning  |
  | Info     | Info      | info     |
</div>
