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

# Alibaba Cloud Monitor CM Event Integration

> Sync Alibaba Cloud Monitor event center alerts to Flashduty via webhook for automated alert noise reduction

Sync Alibaba Cloud Monitor event center alerts to Flashduty via webhook for 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 simpler method when you don't need to route alerts to different channels.

  <details>
    <summary>Expand</summary>

    1. Go to the Flashduty console, select **Channel**, and enter a channel's details page
    2. Select the **Integration** tab, click **Add Integration** to enter the integration page
    3. Choose **Alibaba Cloud CM Event** 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 **Alibaba Cloud CM Event** 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 Alibaba Cloud Monitor CM Event

***

**Step 1: Add Push Channel**

<div class="md-block">
  1. Log in to your Alibaba Cloud Console and select Cloud Monitor
  2. Go to **Event Center -> Event Subscription** page, switch to the **Push Channels** tab, click Create Push Channel button to start editing
  3. As shown, select **POST** as the **Request Method**, and fill in the integration push URL in the **Address** field
  4. Click Confirm button to submit the update

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

**Step 2: Add Subscription Policy**

<div class="md-block">
  1. Log in to your Alibaba Cloud Console and select Cloud Monitor
  2. Go to **Event Center -> Event Subscription** page, switch to the **Subscription Policies** tab, click Create Subscription Policy button to start editing
  3. Fill in the subscription name, select event type and scope, and configure the push channel as the Flashduty channel created earlier at the bottom
  4. Click Confirm button to submit the update
  5. The image below shows subscription results for both threshold and system event types

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

## Status Mapping

***

<div class="md-block">
  Alibaba Cloud Monitor event alert to Flashduty severity level mapping:

  | Alibaba Cloud Monitor | Flashduty | Status   |
  | --------------------- | --------- | -------- |
  | CRITICAL              | Critical  | Critical |
  | WARNING               | Warning   | Warning  |
  | INFO                  | Info      | Info     |
</div>
